diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-02-01 09:36:11 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-02-01 09:36:11 +0900 |
| commit | 874f828a7adc074234acd826c51dfe73bbb52e1b (patch) | |
| tree | b68ece6f743c098a8ac44dcefe3ab85f73fb0a22 /src | |
| parent | 406159d41231302efc6731bda5634f5a9fa69bad (diff) | |
| parent | d8244889153d5b78f6b15797c4907d0a816e3db3 (diff) | |
| download | mruby-874f828a7adc074234acd826c51dfe73bbb52e1b.tar.gz mruby-874f828a7adc074234acd826c51dfe73bbb52e1b.zip | |
Merge pull request #5313 from dearblue/diet-5272
Remove unnecessary `ci0` variables; ref #5272
Diffstat (limited to 'src')
| -rw-r--r-- | src/vm.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -1926,10 +1926,8 @@ RETRY_TRY_BLOCK: } if (mrb->exc) { - mrb_callinfo *ci0; - L_RAISE: - ci0 = ci = mrb->c->ci; + ci = mrb->c->ci; if (ci == mrb->c->cibase) { ch = catch_handler_find(mrb, ci, pc, MRB_CATCH_FILTER_ALL); if (ch == NULL) goto L_FTOP; @@ -1966,7 +1964,7 @@ RETRY_TRY_BLOCK: if (ch == NULL) goto L_STOP; if (FALSE) { L_CATCH_TAGGED_BREAK: /* from THROW_TAGGED_BREAK() or UNWIND_ENSURE() */ - ci = ci0 = mrb->c->ci; + ci = mrb->c->ci; } proc = ci->proc; irep = proc->body.irep; |
