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

* enum.c (enum_count): suppress warning.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2007-12-08 08:53:20 +00:00
parent cf95a55cc9
commit d4463c42c0

4
enum.c
View file

@ -123,7 +123,9 @@ enum_count(int argc, VALUE *argv, VALUE obj)
return INT2NUM(n);
}
else {
rb_scan_args(argc, argv, "1", &argv[0]);
VALUE v;
rb_scan_args(argc, argv, "1", &v);
return Qnil; /* not reached */
}
}