On Sat, Mar 05, 2005 at 10:23:25PM -0500, Adam Kropelin wrote:
hid-debug.h includes resolv_event, which is currently unused, resulting in a compiler warning. Since this function is presumably useful for debugging and is only included when DEBUG is enabled for hid-core, mark the function with __attribute__((unused)) to silence the warning.
Signed-off-by: Adam Kropelin <[EMAIL PROTECTED]>
It's not used if DEBUG is only enabled in hid-core, it _is_ used when DEBUG is also enabled in hid-input ...
Ok, bad analysis on my part. Marking it unused still seems to make sense to avoid the warning when only hid-core has DEBUG enabled. I'll resubmit with a corrected description if you like.
--Adam
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel