diff options
author | Takashi Kokubun <[email protected]> | 2020-06-21 00:34:31 -0700 |
---|---|---|
committer | Takashi Kokubun <[email protected]> | 2020-06-21 00:34:39 -0700 |
commit | 426db4cd90c9539118c62ade917d936ce2e99be0 (patch) | |
tree | 2c013d8e0a0f0bc09ccea81f18cea94de4da12f7 /vm_insnhelper.c | |
parent | 995923b7f9178c234f8c685f434407eb4f0eeb5c (diff) |
Fix -Wmaybe-uninitialized at vm_invoke_block
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r-- | vm_insnhelper.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c index 8f1b6e7307..9957c55129 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -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_proc: func = vm_invoke_proc_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); |