From 6c9db4c4c4a479f7de00245dd37dfe6676a9d8b5 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Thu, 14 Oct 2010 12:29:19 +0000 Subject: [PATCH] Fix warning on USB_NONE targets git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28279 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/usb_screen.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/gui/usb_screen.h b/apps/gui/usb_screen.h index 24075ae38a..321c396fc9 100644 --- a/apps/gui/usb_screen.h +++ b/apps/gui/usb_screen.h @@ -22,7 +22,7 @@ #define _USB_SCREEN_H_ #ifdef USB_NONE -static inline void gui_usb_screen_run(bool early_usb) {} +#define gui_usb_screen_run(early_usb) do {} while(0) #else extern void gui_usb_screen_run(bool early_usb); #endif