aboutsummaryrefslogtreecommitdiffstats
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2020-05-29 10:47:09 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2020-06-03 16:13:47 +0900
commitba20e6080d06e06b2e3a1098656021b2ae8df867 (patch)
tree9fd73d31dfb0b3b1215d4a42f2e1f8848fbb4c77 /vm_insnhelper.c
parentd4015cfee34f236b58e20da418d7dea540bf7cc1 (diff)
downloadruby-ba20e6080d06e06b2e3a1098656021b2ae8df867.tar.gz
vm_invoke_block: remove auto qualifier
Was (harmless but) redundant.
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r--vm_insnhelper.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c
index 22ed42df31..e36ce10237 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -3528,9 +3528,9 @@ vm_invoke_block(rb_execution_context_t *ec, rb_control_frame_t *reg_cfp,
struct rb_calling_info *calling, const struct rb_callinfo *ci,
bool is_lambda, VALUE block_handler)
{
- auto VALUE (*func)(rb_execution_context_t *ec, rb_control_frame_t *reg_cfp,
- struct rb_calling_info *calling, const struct rb_callinfo *ci,
- bool is_lambda, VALUE block_handler);
+ VALUE (*func)(rb_execution_context_t *ec, rb_control_frame_t *reg_cfp,
+ struct rb_calling_info *calling, const struct rb_callinfo *ci,
+ bool is_lambda, VALUE block_handler);
switch (vm_block_handler_type(block_handler)) {
case block_handler_type_iseq: func = vm_invoke_iseq_block; break;