mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Reduce warning for enumeration
22 enumeration values not handled in switch: 'MRB_TT_FALSE', 'MRB_TT_FREE', 'MRB_TT_TRUE'... [-Wswitch]
This commit is contained in:
@@ -124,6 +124,8 @@ os_each_object_cb(mrb_state *mrb, struct RBasic *obj, void *ud)
|
||||
case MRB_TT_ENV:
|
||||
case MRB_TT_ICLASS:
|
||||
return;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
/* filter half baked (or internal) objects */
|
||||
|
||||
Reference in New Issue
Block a user