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
This commit is contained in:
committed by
Stefan Reinauer
parent
53a811eeb5
commit
83628902ad
@@ -59,7 +59,7 @@
|
|||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
#define X86EMU_UNUSED(v)
|
#define X86EMU_UNUSED(v)
|
||||||
#else
|
#else
|
||||||
#define X86EMU_UNUSED(v) v
|
#define X86EMU_UNUSED(v) v __attribute__((unused))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "x86emu/x86emu.h"
|
#include "x86emu/x86emu.h"
|
||||||
|
Reference in New Issue
Block a user