Remove unused local variable n in range_initialize; #4213

This commit is contained in:
Yukihiro "Matz" Matsumoto
2019-01-04 14:40:58 +09:00
parent 1e7d6890a5
commit 53d87c59c0
+1 -2
View File
@@ -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;
}