1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

ext/-test-/enumerator_kw/enumerator_kw.c: remove unused variable

This commit is contained in:
Yusuke Endoh 2019-10-01 08:57:50 +09:00
parent 01e75b6be9
commit a38fe1fbf0

View file

@ -3,7 +3,7 @@
static VALUE
enumerator_kw(int argc, VALUE *argv, VALUE self)
{
VALUE obj, opt, enum_args[4];
VALUE opt, enum_args[4];
enum_args[0] = Qnil;
enum_args[1] = Qnil;
rb_scan_args(argc, argv, "01*:", enum_args, enum_args+1, &opt);