x86emu: fix sparse warnings

ops2.c:113:18: warning: Using plain integer as NULL pointer
ops2.c:207:18: warning: Using plain integer as NULL pointer
This commit is contained in:
Julien Cristau 2008-10-26 13:17:31 +01:00
parent ffaaa1a198
commit 102c4dac7c

View File

@ -110,7 +110,7 @@ Handles opcode 0x0f,0x80-0x8F
static void x86emuOp2_long_jump(u8 op2)
{
s32 target;
char *name = 0;
char *name = NULL;
int cond = 0;
/* conditional jump to word offset. */
@ -204,7 +204,7 @@ static void x86emuOp2_set_byte(u8 op2)
int mod, rl, rh;
uint destoffset;
u8 *destreg;
char *name = 0;
char *name = NULL;
int cond = 0;
START_OF_INSTR();