From 9f9a88abf248edaae919068cd3197c4497f6a9a6 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Mon, 19 Apr 2021 10:59:14 -0700 Subject: [PATCH] PDP8: Silence clang warning in loader logic --- PDP8/pdp8_sys.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PDP8/pdp8_sys.c b/PDP8/pdp8_sys.c index 24a2275f..0cc336da 100644 --- a/PDP8/pdp8_sys.c +++ b/PDP8/pdp8_sys.c @@ -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