Remove unused local variable `n` in `range_initialize`;
@@ -172,9 +172,8 @@ range_initialize(mrb_state *mrb, mrb_value range)
{
mrb_value beg, end;
mrb_bool exclusive = FALSE;
- mrb_int n;
- n = mrb_get_args(mrb, "oo|b", &beg, &end, &exclusive);
+ mrb_get_args(mrb, "oo|b", &beg, &end, &exclusive);
range_ptr_replace(mrb, mrb_range_raw_ptr(range), beg, end, exclusive);
return range;
}
