diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-08-23 18:43:27 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-08-23 18:43:27 +0000 |
commit | 83628902adacc8eece332c6968ff4e910d43c5b4 (patch) | |
tree | 4b1aea07cb339b1519998c5b79a988d2562abc33 /src/devices | |
parent | 53a811eeb5b00d165cb7cc7956d7c46cee3d4a73 (diff) | |
download | coreboot-83628902adacc8eece332c6968ff4e910d43c5b4.tar.xz |
mark unused variables in x86emu as unused. gcc has a mechanism for this.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5738 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/devices')
-rw-r--r-- | src/devices/oprom/x86emu/x86emui.h | 2 |
1 files changed, 1 insertions, 1 deletions
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" |