From: Jérémie Astor Date: Mon, 13 Apr 2020 21:56:05 +0000 (+0200) Subject: :art: Lint X-Git-Tag: nightly~1690 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=b59e1bbbe0560b724b1ec3c701264a43bc37f523;p=gwion.git :art: Lint --- diff --git a/src/emit/emit.c b/src/emit/emit.c index 219921b2..f7988a87 100644 --- a/src/emit/emit.c +++ b/src/emit/emit.c @@ -1152,10 +1152,8 @@ ANN static m_bool emit_implicit_cast(const Emitter emit, } ANN static Instr _flow(const Emitter emit, const Exp e, const m_bool b) { - CHECK_BO(emit_exp_pop_next(emit, e)) -const Exp next = e->next; - emit_exp_addref(emit, e, -exp_size(e)); -e->next = next; + CHECK_BO(emit_exp_pop_next(emit, e)) + emit_exp_addref(emit, e, -exp_size(e)); struct Op_Import opi = { .op=insert_symbol(b ? "@conditionnal" : "@unconditionnal"), .rhs=e->info->type, .pos=e->pos, .data=(uintptr_t)e, .op_type=op_exp }; const Instr instr = op_emit(emit, &opi);