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:
parent
ffaaa1a198
commit
102c4dac7c
|
@ -110,7 +110,7 @@ Handles opcode 0x0f,0x80-0x8F
|
||||||
static void x86emuOp2_long_jump(u8 op2)
|
static void x86emuOp2_long_jump(u8 op2)
|
||||||
{
|
{
|
||||||
s32 target;
|
s32 target;
|
||||||
char *name = 0;
|
char *name = NULL;
|
||||||
int cond = 0;
|
int cond = 0;
|
||||||
|
|
||||||
/* conditional jump to word offset. */
|
/* conditional jump to word offset. */
|
||||||
|
@ -204,7 +204,7 @@ static void x86emuOp2_set_byte(u8 op2)
|
||||||
int mod, rl, rh;
|
int mod, rl, rh;
|
||||||
uint destoffset;
|
uint destoffset;
|
||||||
u8 *destreg;
|
u8 *destreg;
|
||||||
char *name = 0;
|
char *name = NULL;
|
||||||
int cond = 0;
|
int cond = 0;
|
||||||
|
|
||||||
START_OF_INSTR();
|
START_OF_INSTR();
|
||||||
|
|
Loading…
Reference in New Issue