]> diplodocus.org Git - nmh/blobdiff - sbr/vfgets.c
mhbuildsbr.c: Flip logic, moving goto to then-block; no need for else.
[nmh] / sbr / vfgets.c
index 5d152211287c62a212a94cacb568d9f89973077a..480af1394362fdb12daf85cb7fafe9beddd66a0f 100644 (file)
@@ -1,6 +1,4 @@
-
-/*
- * vfgets.c -- virtual fgets
+/* vfgets.c -- virtual fgets
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
@@ -46,8 +44,7 @@ wrong_guess:
            for (fp = dp - 1, toggle = 0; fp >= cp; fp--) {
                if (*fp != QUOTE)
                    break;
            for (fp = dp - 1, toggle = 0; fp >= cp; fp--) {
                if (*fp != QUOTE)
                    break;
-               else
-                   toggle = !toggle;
+                toggle = !toggle;
            }
            if (toggle)
                goto wrong_guess;
            }
            if (toggle)
                goto wrong_guess;