Skip to content

Commit 1a89b14

Browse files
committed
Enhance warning output.
Add comment to line GCC points finger at. This is not intended to fix the warning. Rather, it is intended to make it clearer that this may need a deeper review before determining what (if any) code change would be appropriate.
1 parent e1e7b37 commit 1a89b14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/USBHost/examples/USB_desc/USB_desc.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ byte getconfdescr( byte addr, byte conf )
209209
{
210210
uint8_t buf[ BUFSIZE ];
211211
uint8_t* buf_ptr = buf;
212-
byte rcode;
212+
byte rcode; // BUGBUG -- code does not actually check return code (no error handling!)
213213
byte descr_length;
214214
byte descr_type;
215215
uint16_t total_length;

0 commit comments

Comments
 (0)