mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix -Wmaybe-uninitialized at vm_invoke_block
This commit is contained in:
parent
995923b7f9
commit
426db4cd90
1 changed files with 1 additions and 0 deletions
|
@ -3584,6 +3584,7 @@ vm_invoke_block(rb_execution_context_t *ec, rb_control_frame_t *reg_cfp,
|
||||||
case block_handler_type_ifunc: func = vm_invoke_ifunc_block; break;
|
case block_handler_type_ifunc: func = vm_invoke_ifunc_block; break;
|
||||||
case block_handler_type_proc: func = vm_invoke_proc_block; break;
|
case block_handler_type_proc: func = vm_invoke_proc_block; break;
|
||||||
case block_handler_type_symbol: func = vm_invoke_symbol_block; break;
|
case block_handler_type_symbol: func = vm_invoke_symbol_block; break;
|
||||||
|
default: rb_bug("vm_invoke_block: unreachable");
|
||||||
}
|
}
|
||||||
|
|
||||||
return func(ec, reg_cfp, calling, ci, is_lambda, block_handler);
|
return func(ec, reg_cfp, calling, ci, is_lambda, block_handler);
|
||||||
|
|
Loading…
Add table
Reference in a new issue