diff options
author | 卜部昌平 <shyouhei@ruby-lang.org> | 2020-05-29 10:47:09 +0900 |
---|---|---|
committer | 卜部昌平 <shyouhei@ruby-lang.org> | 2020-06-03 16:13:47 +0900 |
commit | ba20e6080d06e06b2e3a1098656021b2ae8df867 (patch) | |
tree | 9fd73d31dfb0b3b1215d4a42f2e1f8848fbb4c77 | |
parent | d4015cfee34f236b58e20da418d7dea540bf7cc1 (diff) |
vm_invoke_block: remove auto qualifier
Was (harmless but) redundant.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3152
-rw-r--r-- | vm_insnhelper.c | 6 |
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; |