[coreboot] [commit] r5738 - trunk/src/devices/oprom/x86emu

repository service svn at coreboot.org
Mon Aug 23 20:43:28 CEST 2010


Author: stepan
Date: Mon Aug 23 20:43:27 2010
New Revision: 5738
URL: https://tracker.coreboot.org/trac/coreboot/changeset/5738

Log:
mark unused variables in x86emu as unused. gcc has a mechanism for this.

Signed-off-by: Stefan Reinauer <stepan at coresystems.de>
Acked-by: Stefan Reinauer <stepan at coresystems.de>

Modified:
   trunk/src/devices/oprom/x86emu/x86emui.h

Modified: trunk/src/devices/oprom/x86emu/x86emui.h
==============================================================================
--- trunk/src/devices/oprom/x86emu/x86emui.h	Sun Aug 22 22:02:27 2010	(r5737)
+++ trunk/src/devices/oprom/x86emu/x86emui.h	Mon Aug 23 20:43:27 2010	(r5738)
@@ -59,7 +59,7 @@
 #ifdef __cplusplus
 #define	X86EMU_UNUSED(v)
 #else
-#define	X86EMU_UNUSED(v)	v
+#define	X86EMU_UNUSED(v)	v __attribute__((unused))
 #endif
 
 #include "x86emu/x86emu.h"




More information about the coreboot mailing list