summaryrefslogtreecommitdiff
path: root/enum.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-03-08 05:49:12 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-03-08 05:49:12 +0000
commite4c06f3c22f075722979e298d9c0c8dbe63431fe (patch)
treec1218e957f293818c549e5c248aa6e48576c103f /enum.c
parentff84a6a2e7904a5f6cf7d778c6b9f7af4c87d818 (diff)
enum.c: suppress warnings
* enum.c (each_val_i): svalue is no longer used. [ruby-core:61340] [Bug #9605] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enum.c')
-rw-r--r--enum.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/enum.c b/enum.c
index 5bc32d8..b0d3bca 100644
--- a/enum.c
+++ b/enum.c
@@ -2016,7 +2016,6 @@ enum_reverse_each(int argc, VALUE *argv, VALUE obj)
static VALUE
each_val_i(RB_BLOCK_CALL_FUNC_ARGLIST(i, p))
{
- ENUM_WANT_SVALUE();
enum_yield(argc, argv);
return Qnil;
}