From 83628902adacc8eece332c6968ff4e910d43c5b4 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Mon, 23 Aug 2010 18:43:27 +0000 Subject: mark unused variables in x86emu as unused. gcc has a mechanism for this. Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5738 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/devices/oprom/x86emu/x86emui.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/devices/oprom/x86emu') diff --git a/src/devices/oprom/x86emu/x86emui.h b/src/devices/oprom/x86emu/x86emui.h index 8ad43bfa30..e34a1bad30 100644 --- a/src/devices/oprom/x86emu/x86emui.h +++ b/src/devices/oprom/x86emu/x86emui.h @@ -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" -- cgit v1.2.3