summaryrefslogtreecommitdiff
path: root/enumerator.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-03-31 05:25:00 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-03-31 05:25:00 +0000
commit8e1d0d7cc384887e9768d7ac1ca4abfc8346952e (patch)
treedbcc7d5259110d037a65f535f2d585de1fe0bae0 /enumerator.c
parent801443f3acc174e46e8919175785582373ddb8f0 (diff)
* enumerator.c (enumerator_with_index): removed suspicious return
statement. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enumerator.c')
-rw-r--r--enumerator.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/enumerator.c b/enumerator.c
index 018d1d986e..4446eb45e8 100644
--- a/enumerator.c
+++ b/enumerator.c
@@ -355,8 +355,6 @@ enumerator_with_index(VALUE obj)
argc = RARRAY(e->args)->len;
argv = RARRAY(e->args)->ptr;
}
- return rb_block_call(e->method, rb_intern("call"), argc, argv, e->iter, (VALUE)e);
-
return rb_block_call(e->method, rb_intern("call"), argc, argv,
enumerator_with_index_i, (VALUE)&memo);
}