drivers/bios_emulator/x86emu/ops2.c: Fix GCC 4.6 build warning

Fix:

x86emu/ops2.c: In function 'x86emuOp2_set_byte':
x86emu/ops2.c:171:11: warning: variable 'name' set but not used [-Wunused-but-set-variable]

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
Kumar Gala 2011-11-23 06:31:04 +00:00 committed by Wolfgang Denk
parent ca8a30ec6a
commit d90a5b1ed1
1 changed files with 2 additions and 1 deletions

View File

@ -42,6 +42,7 @@
****************************************************************************/
#include <common.h>
#include <linux/compiler.h>
#include "x86emu/x86emui.h"
/*----------------------------- Implementation ----------------------------*/
@ -168,7 +169,7 @@ void x86emuOp2_set_byte(u8 op2)
int mod, rl, rh;
uint destoffset;
u8 *destreg;
char *name = 0;
__maybe_unused char *name = 0;
int cond = 0;
START_OF_INSTR();