Commit a5cadf4b authored by Jose Narvaez's avatar Jose Narvaez

Fixed dead increment in 'dump.c' reported by 'clang-analyzer'

parent 44a58092
...@@ -343,7 +343,6 @@ write_section_irep(mrb_state *mrb, mrb_irep *irep, uint8_t *bin) ...@@ -343,7 +343,6 @@ write_section_irep(mrb_state *mrb, mrb_irep *irep, uint8_t *bin)
if (result != MRB_DUMP_OK) { if (result != MRB_DUMP_OK) {
return result; return result;
} }
cur += rsize;
section_size += rsize; section_size += rsize;
write_section_irep_header(mrb, section_size, bin); write_section_irep_header(mrb, section_size, bin);
......
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