Remove warnings (#1140)
* remove warnings on windows with vs2019. * remove warnings.
This commit is contained in:

committed by
Nguyen Anh Quynh

parent
60896de9f4
commit
ca6516ff79
@ -527,7 +527,8 @@ void mips_cpu_do_interrupt(CPUState *cs)
|
||||
break;
|
||||
case EXCP_SRESET:
|
||||
env->CP0_Status |= (1 << CP0St_SR);
|
||||
memset(env->CP0_WatchLo, 0, sizeof(*env->CP0_WatchLo));
|
||||
/* memset CP0_WatchLo which is fixed size array. */
|
||||
memset(env->CP0_WatchLo, 0, sizeof(env->CP0_WatchLo));
|
||||
goto set_error_EPC;
|
||||
case EXCP_NMI:
|
||||
env->CP0_Status |= (1 << CP0St_NMI);
|
||||
|
Reference in New Issue
Block a user