diff options
author | Thomas Voss <thomas.voss@humanwave.nl> | 2024-02-14 12:40:36 +0100 |
---|---|---|
committer | Thomas Voss <thomas.voss@humanwave.nl> | 2024-02-14 12:40:36 +0100 |
commit | 96cb893e749c34df07b30c3eabceaaa217d405a3 (patch) | |
tree | b489937e44e96326e4f8a16b7577f1490bbe120a | |
parent | 2c3617ed353fab026896ce6f709d778f7929381e (diff) |
Remove useless variable
-rw-r--r-- | src/c8asm/assembler.c | 3 |
1 files changed, 1 insertions, 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)); } |