Fix annoying warning generated on newer GCC versions.

This commit is contained in:
Andrew J. Kroll 2013-12-29 22:55:03 -05:00
parent 3ee654bb12
commit 5426cb1fb6

View file

@ -24,10 +24,10 @@ uint8_t HIDUniversal2::OnInitSuccessful()
HexDumper<USBReadParser, uint16_t, uint16_t> Hex;
ReportDescParser Rpt;
if (rcode = GetReportDescr(0, &Hex))
if ((rcode = GetReportDescr(0, &Hex)))
goto FailGetReportDescr1;
if (rcode = GetReportDescr(0, &Rpt))
if ((rcode = GetReportDescr(0, &Rpt)))
goto FailGetReportDescr2;
return 0;