summaryrefslogtreecommitdiff
path: root/utils/1l
diff options
context:
space:
mode:
Diffstat (limited to 'utils/1l')
-rw-r--r--utils/1l/asm.c5
-rw-r--r--utils/1l/obj.c2
2 files changed, 1 insertions, 6 deletions
diff --git a/utils/1l/asm.c b/utils/1l/asm.c
index f8dba670..6cf02ed8 100644
--- a/utils/1l/asm.c
+++ b/utils/1l/asm.c
@@ -1259,11 +1259,6 @@ asmea(Prog *p, Adr *a)
diag("unknown addressing mode: %d in %s", t, TNAME);
return 0;
- if(!debug['a'])
- print("%P\n", p);
- diag("bad operand in %s", TNAME);
- return 0;
-
toobig:
if(!debug['a'])
print("%P\n", p);
diff --git a/utils/1l/obj.c b/utils/1l/obj.c
index 379a9ffb..afc3c9e7 100644
--- a/utils/1l/obj.c
+++ b/utils/1l/obj.c
@@ -1001,7 +1001,7 @@ loop:
pc++;
goto loop;
}
- goto loop;
+ /* not reached */
eof:
diag("%s: truncated object file in %s", pn, TNAME);