aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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));
}