From b59e1bbbe0560b724b1ec3c701264a43bc37f523 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Mon, 13 Apr 2020 23:56:05 +0200 Subject: [PATCH] :art: Lint --- src/emit/emit.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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); -- 2.43.0