From d562dcd732d20771e764c1ad3a0b675d60a5c981 Mon Sep 17 00:00:00 2001 From: cpldcpu Date: Tue, 18 Feb 2014 14:39:48 +0100 Subject: firmware: suppress warning about unused flags variable in usbdrv.c --- firmware/usbdrv/usbdrv.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'firmware/usbdrv') diff --git a/firmware/usbdrv/usbdrv.c b/firmware/usbdrv/usbdrv.c index 50adf5a..354dce7 100644 --- a/firmware/usbdrv/usbdrv.c +++ b/firmware/usbdrv/usbdrv.c @@ -375,6 +375,8 @@ uchar flags = USB_FLG_MSGPTR_IS_ROM; len = usbFunctionDescriptor(rq); } SWITCH_END + + flags=flags; // Make compiler shut up about unused variable #ifndef MNHACK_ONLY_FLASH_MSGPTR usbMsgFlags = flags; #endif -- cgit v1.2.3