Remove unnecessary initialization of a local variable.

parent 877e1650
...@@ -276,7 +276,6 @@ mrb_struct_s_def(mrb_state *mrb, mrb_value klass) ...@@ -276,7 +276,6 @@ mrb_struct_s_def(mrb_state *mrb, mrb_value klass)
mrb_int argc; mrb_int argc;
name = mrb_nil_value(); name = mrb_nil_value();
rest = mrb_nil_value();
mrb_get_args(mrb, "*&", &argv, &argc, &b); mrb_get_args(mrb, "*&", &argv, &argc, &b);
if (argc == 0) { /* special case to avoid crash */ if (argc == 0) { /* special case to avoid crash */
rest = mrb_ary_new(mrb); rest = mrb_ary_new(mrb);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment