Suppress unused function parameter warnings in the USB driver.
[pub/USBasp.git] / LUFA / Drivers / USB / Core / AVR8 / Device_AVR8.h
index a2a2ddf..a0dba7b 100644 (file)
                        static inline void USB_Device_EnableDeviceAddress(const uint8_t Address) ATTR_ALWAYS_INLINE;
                        static inline void USB_Device_EnableDeviceAddress(const uint8_t Address)
                        {
-                                 UDADDR |= (1 << ADDEN);
+                               (void)Address;
+                               
+                               UDADDR |= (1 << ADDEN);
                        }
 
                        static inline bool USB_Device_IsAddressSet(void) ATTR_ALWAYS_INLINE ATTR_WARN_UNUSED_RESULT;