Silence a number of switch warnings
Avoid "default" case when only 1-2 enumarations are missing.
This commit is contained in:
parent
5b99e786f0
commit
ce1deb1516
2 changed files with 5 additions and 0 deletions
|
@ -1954,6 +1954,9 @@ static void dyn_loop(LoopTypes type) {
|
|||
gen_needflags();
|
||||
branch1=gen_create_branch(BR_Z);
|
||||
break;
|
||||
case LOOP_NONE:
|
||||
case LOOP_JCXZ:
|
||||
break;
|
||||
}
|
||||
gen_protectflags();
|
||||
switch (type) {
|
||||
|
|
|
@ -104,6 +104,8 @@ static void dyn_string(STRING_OP op) {
|
|||
gen_call_function((void*)&IO_WriteW,"%Dw%Dw",DREG(EDX),tmp_reg);break;
|
||||
case STR_OUTSD:
|
||||
gen_call_function((void*)&IO_WriteD,"%Dw%Dd",DREG(EDX),tmp_reg);break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (usedi) {
|
||||
|
|
Loading…
Add table
Reference in a new issue