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:
parent
cf95a55cc9
commit
d4463c42c0
1 changed files with 3 additions and 1 deletions
4
enum.c
4
enum.c
|
@ -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 */
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue