summaryrefslogtreecommitdiff
path: root/vm_args.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-06-05 05:43:58 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-06-05 05:43:58 +0000
commit1dc7906b17ddd17a2ec2af9c1f2e44c6fb7d22e8 (patch)
treeee69da9f3fb967d42ab2f9aa9534bd3ff981d9e7 /vm_args.c
parent86ae6129cbbc6deb4f80552bc922c3619a31bd4c (diff)
downloadruby-1dc7906b17ddd17a2ec2af9c1f2e44c6fb7d22e8.tar.gz
remove arg_setup_lambda.
* vm_args.c (enum arg_setup_type): remove arg_setup_lambda because it is same as arg_setup_method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 */