aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Voss <thomas.voss@humanwave.nl> 2024-02-14 12:40:36 +0100
committerThomas Voss <thomas.voss@humanwave.nl> 2024-02-14 12:40:36 +0100
commit96cb893e749c34df07b30c3eabceaaa217d405a3 (patch)
treeb489937e44e96326e4f8a16b7577f1490bbe120a /src
parent2c3617ed353fab026896ce6f709d778f7929381e (diff)
Remove useless variable
Diffstat (limited to 'src')
-rw-r--r--src/c8asm/assembler.c3
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));
}