mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
add missing (empty) default for swtch; close #364
This commit is contained in:
@@ -207,6 +207,8 @@ genop_peep(codegen_scope *s, mrb_code i, int val)
|
||||
return;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case OP_SETIV:
|
||||
@@ -240,6 +242,8 @@ genop_peep(codegen_scope *s, mrb_code i, int val)
|
||||
return;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
genop(s, i);
|
||||
|
||||
Reference in New Issue
Block a user