Commit cac740c7 authored by Yukihiro Matsumoto's avatar Yukihiro Matsumoto

remove duplicated variable declaration

parent 8b6f6faf
...@@ -365,8 +365,6 @@ mrb_time_minus(mrb_state *mrb, mrb_value self) ...@@ -365,8 +365,6 @@ mrb_time_minus(mrb_state *mrb, mrb_value self)
return mrb_float_value(f); return mrb_float_value(f);
} }
else { else {
mrb_float f;
mrb_get_args(mrb, "f", &f); mrb_get_args(mrb, "f", &f);
return mrb_time_make(mrb, mrb_obj_class(mrb, self), tm->sec-f, tm->usec, tm->timezone); return mrb_time_make(mrb, mrb_obj_class(mrb, self), tm->sec-f, tm->usec, tm->timezone);
} }
......
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