mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
mruby-errno/errno.c (mrb_errno_list): no need to check array type here.
This commit is contained in:
@@ -169,7 +169,6 @@ mrb_errno_list(mrb_state *mrb, mrb_value self)
|
||||
mrb_value list;
|
||||
mrb_get_args(mrb, "A", &list);
|
||||
|
||||
mrb_ensure_array_type(mrb, list);
|
||||
mrb_ary_modify(mrb, mrb_ary_ptr(list));
|
||||
mrb_ssize head = RARRAY_LEN(list);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user