From 96cb893e749c34df07b30c3eabceaaa217d405a3 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Wed, 14 Feb 2024 12:40:36 +0100 Subject: Remove useless variable --- src/c8asm/assembler.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/c8asm/assembler.c b/src/c8asm/assembler.c index 50955c4..eaf2929 100644 --- a/src/c8asm/assembler.c +++ b/src/c8asm/assembler.c @@ -60,8 +60,7 @@ getaddr(struct raw_addr a) void pushlabel(struct labels *dst, struct label lbl) { - struct label *found; - if (found = getlabel(lbl.sv)) { + if (getlabel(lbl.sv)) { die_with_off(filename, lbl.sv.p - baseptr, E_LEXISTS, U8_PRI_ARGS(lbl.sv)); } -- cgit v1.2.3