Search found 1 match
- Sun Aug 22, 2010 10:32 pm
- Forum: V-USB
- Topic: Patch: Remove warning when USB_RESET_HOOK is not defined
- Replies: 0
- Views: 4514
Patch: Remove warning when USB_RESET_HOOK is not defined
When USB_RESET_HOOK is not defined, gcc warns about an unused parameter in usbHandleResetHook: usbdrv/usbdrv.c: In function ‘usbHandleResetHook’: usbdrv/usbdrv.c:550: warning: unused parameter ‘notResetState’ This prevents me from using -Werror in my makefile (-Werror makes gcc treat warnings as err...