diff options
| author | dearblue <[email protected]> | 2021-01-31 17:24:16 +0900 |
|---|---|---|
| committer | dearblue <[email protected]> | 2021-01-31 17:24:16 +0900 |
| commit | d8244889153d5b78f6b15797c4907d0a816e3db3 (patch) | |
| tree | 263772efb9b25fa29cd6046b5ebe5605ea13c59f /src | |
| parent | cee916ab0f7357a4fe544d08747b835512b56802 (diff) | |
| download | mruby-d8244889153d5b78f6b15797c4907d0a816e3db3.tar.gz mruby-d8244889153d5b78f6b15797c4907d0a816e3db3.zip | |
Remove unnecessary `ci0` variables; ref #5272
Diffstat (limited to 'src')
| -rw-r--r-- | src/vm.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -1939,10 +1939,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; @@ -1979,7 +1977,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; |
