summaryrefslogtreecommitdiff
path: root/vm_args.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm_args.c')
-rw-r--r--vm_args.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/vm_args.c b/vm_args.c
index ae27d27d8c..59bd87ebf0 100644
--- a/vm_args.c
+++ b/vm_args.c
@@ -29,8 +29,7 @@ struct args_info {
enum arg_setup_type {
arg_setup_method,
- arg_setup_block,
- arg_setup_lambda
+ arg_setup_block
};
static inline int
@@ -595,8 +594,6 @@ setup_parameters_complex(rb_thread_t * const th, const rb_iseq_t * const iseq,
given_argc = RARRAY_LENINT(args->rest);
}
break;
- case arg_setup_lambda:
- break;
}
/* argc check */