mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
misc: Clean up a pile of -Wunused-const-variable warnings
And re-enable the warning (applies to GCC 6+) Change-Id: I7aa679ec65707db12de83c0433966b3821d07087
This commit is contained in:
parent
c7eda36341
commit
9d4632b0c3
11 changed files with 29 additions and 17 deletions
|
|
@ -158,12 +158,14 @@ static const char* const dw_state_str[EP0_NUM_STATES] =
|
|||
[EP0_STATUS_OUT] = "sts_out",
|
||||
};
|
||||
|
||||
#if 0
|
||||
static const char* const dw_resp_str[3] =
|
||||
{
|
||||
[USB_CONTROL_ACK] = "ACK",
|
||||
[USB_CONTROL_RECEIVE] = "RECV",
|
||||
[USB_CONTROL_STALL] = "STALL",
|
||||
};
|
||||
#endif
|
||||
|
||||
static struct usb_dw_ep usb_dw_ep_list[USB_NUM_ENDPOINTS][USB_DW_NUM_DIRS];
|
||||
static struct usb_dw_ep0 ep0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue