PDP8: Silence clang warning in loader logic

This commit is contained in:
Mark Pizzolato 2021-04-19 10:59:14 -07:00
parent a015e44c10
commit 9f9a88abf2

View file

@ -177,11 +177,12 @@ int32 c, rubout;
rubout = 0; /* clear toggle */ rubout = 0; /* clear toggle */
while ((c = getc (fi)) != EOF) { /* read char */ while ((c = getc (fi)) != EOF) { /* read char */
if (rubout) /* skipping chars */ if (rubout) { /* skipping chars */
if (c == 0377) /* ending rubout? */ if (c == 0377) /* ending rubout? */
rubout = 0; /* clr, skip */ rubout = 0; /* clr, skip */
else else
continue; /* skip charactder */ continue; /* skip charactder */
}
if (c == 0377) /* rubout? */ if (c == 0377) /* rubout? */
rubout = 1; /* set, skip */ rubout = 1; /* set, skip */
else else