mirror of
https://github.com/open-simh/simh.git
synced 2026-01-21 10:22:15 +00:00
PDP8: Silence clang warning in loader logic
This commit is contained in:
parent
a015e44c10
commit
9f9a88abf2
@ -177,11 +177,12 @@ int32 c, rubout;
|
||||
|
||||
rubout = 0; /* clear toggle */
|
||||
while ((c = getc (fi)) != EOF) { /* read char */
|
||||
if (rubout) /* skipping chars */
|
||||
if (rubout) { /* skipping chars */
|
||||
if (c == 0377) /* ending rubout? */
|
||||
rubout = 0; /* clr, skip */
|
||||
else
|
||||
continue; /* skip charactder */
|
||||
}
|
||||
if (c == 0377) /* rubout? */
|
||||
rubout = 1; /* set, skip */
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user