mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-04-11 16:37:45 -04:00
Fix yellow from 1951c17e0b on targets with USB_NONE
gui_usb_screen_run() is a do{} while(0) macro, resulting in an unused
variable warning in the "caller"
Change-Id: I4b4b00ef38decfb5cc9db0da3d81ad0c9a4207d1
This commit is contained in:
parent
33d0a3efa3
commit
89cf5b57e6
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@
|
|||
#include <stdint.h>
|
||||
|
||||
#ifdef USB_NONE
|
||||
#define gui_usb_screen_run(early_usb, seqnum) do {} while(0)
|
||||
#define gui_usb_screen_run(early_usb, seqnum) do {(void)seqnum;} while(0)
|
||||
#else
|
||||
extern void gui_usb_screen_run(bool early_usb, intptr_t seqnum);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue