summaryrefslogtreecommitdiff
path: root/enumerator.c
diff options
context:
space:
mode:
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);
}