aboutsummaryrefslogtreecommitdiffstats
path: root/iseq.c
diff options
context:
space:
mode:
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/iseq.c b/iseq.c
index 922d685378..18494550be 100644
--- a/iseq.c
+++ b/iseq.c
@@ -1304,7 +1304,6 @@ rb_iseq_parameters(const rb_iseq_t *iseq, int is_proc)
for (i = 0; i < iseq->argc; i++) {
PARAM_TYPE(opt);
rb_ary_push(a, rb_id2name(PARAM_ID(i)) ? ID2SYM(PARAM_ID(i)) : Qnil);
- rb_ary_push(a, Qnil);
rb_ary_push(args, a);
}
}
@@ -1333,7 +1332,6 @@ rb_iseq_parameters(const rb_iseq_t *iseq, int is_proc)
for (i = iseq->arg_post_start; i < r; i++) {
PARAM_TYPE(opt);
rb_ary_push(a, rb_id2name(PARAM_ID(i)) ? ID2SYM(PARAM_ID(i)) : Qnil);
- rb_ary_push(a, Qnil);
rb_ary_push(args, a);
}
}