mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Remove unused local variable n in range_initialize; #4213
This commit is contained in:
+1
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user