mirror of https://gerrit.osmocom.org/simtrace2
79c2b72c7a
This was an example of a compiler warning when the switch -Waddress was passed: atmel_softpack_libraries/usb/device/core/USBD.c: In function 'USBD_RequestHandler': atmel_softpack_libraries/usb/device/core/USBD.c:149:14: warning: the address of 'USBDCallbacks_RequestReceived' will always evaluate as 'true' [-Waddress] else if (USBDCallbacks_RequestReceived) { The test for existense of USBDCallbacks_RequestReceived is removed since there is always a default implementation of these function. |
||
---|---|---|
.. | ||
USBD.c | ||
USBDCallbacks.c | ||
USBDDriver.c | ||
USBDDriverCallbacks.c |