enum.c: adjust local variable declaration

This commit is contained in:
Yukihiro "Matz" Matsumoto
2024-04-19 16:20:36 +09:00
parent 8350106896
commit c445723fa4
+1 -2
View File
@@ -25,7 +25,6 @@ enum_update_hash(mrb_state *mrb, mrb_value self)
void
mrb_init_enumerable(mrb_state *mrb)
{
struct RClass *enumerable;
enumerable = mrb_define_module_id(mrb, MRB_SYM(Enumerable)); /* 15.3.2 */
struct RClass *enumerable = mrb_define_module_id(mrb, MRB_SYM(Enumerable)); /* 15.3.2 */
mrb_define_module_function_id(mrb, enumerable, MRB_SYM(__update_hash), enum_update_hash, MRB_ARGS_REQ(3));
}