The C Source, Patches and (shudder!) Bugs
Post Reply
ncarrier
Posts: 36
Joined: 02 Nov 2011, 18:05

[PATCH 3/3]Remove unused parameter warning

Post by ncarrier » 16 Nov 2012, 10:46

This warning appears when the flag -Wunused-parameter is set.
It uses __attribute__((unused)) to release_usb_device()'s dummy parameter, which can't be directly removed because the prototype of the function must respect the type of signal()'s parameter.
Attachments
0003-DEVMINOR-Remove-unused-parameter-warning.patch
(748 Bytes) Downloaded 556 times

Post Reply