summaryrefslogtreecommitdiff
path: root/enumerator.c
diff options
context:
space:
mode:
Diffstat (limited to 'enumerator.c')
-rw-r--r--enumerator.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/enumerator.c b/enumerator.c
index d7a79c3c5a..f2c1fa2840 100644
--- a/enumerator.c
+++ b/enumerator.c
@@ -25,17 +25,6 @@ static VALUE sym_each;
VALUE rb_eStopIteration;
-static VALUE
-proc_call(proc, args)
- VALUE proc;
- VALUE args;
-{
- if (TYPE(args) != T_ARRAY) {
- args = rb_ary_new3(1, args);
- }
- return rb_proc_call(proc, args);
-}
-
struct enumerator {
VALUE obj;
ID meth;