Commit 24c105a2 authored by Jose Narvaez's avatar Jose Narvaez

Fixed dead assignment in 'backtrace.c' reported by 'clang-analyzer'

parent 7275096f
...@@ -71,7 +71,6 @@ output_backtrace(mrb_state *mrb, mrb_int ciidx, mrb_code *pc0, output_stream_fun ...@@ -71,7 +71,6 @@ output_backtrace(mrb_state *mrb, mrb_int ciidx, mrb_code *pc0, output_stream_fun
for (i = ciidx; i >= 0; i--) { for (i = ciidx; i >= 0; i--) {
ci = &mrb->c->cibase[i]; ci = &mrb->c->cibase[i];
filename = NULL; filename = NULL;
lineno = -1;
if (!ci->proc) continue; if (!ci->proc) continue;
if (MRB_PROC_CFUNC_P(ci->proc)) { if (MRB_PROC_CFUNC_P(ci->proc)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment