]> diplodocus.org Git - nmh/commitdiff
picksbr.c: Remove some else after break in plist().
authorRalph Corderoy <ralph@inputplus.co.uk>
Mon, 1 May 2017 20:42:59 +0000 (21:42 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Mon, 1 May 2017 22:10:05 +0000 (23:10 +0100)
uip/picksbr.c

index c29e669b474c3802724dcedac909621488da76b3..c0799bd9f20d527b16f876b5b7021ffa9cca6440 100644 (file)
@@ -681,21 +681,18 @@ plist
                    --p2;
                    break;
                }
-               else
-                   lf = 0;
+                lf = 0;
            }
            if (c == '\n') {
                if (body)
                    break;
-               else {
-                   if (lf) {
-                       body++;
-                       break;
-                   }
-                   lf++;
-                   /* Unfold by skipping the newline. */
-                   c = 0;
-               }
+                if (lf) {
+                    body++;
+                    break;
+                }
+                lf++;
+                /* Unfold by skipping the newline. */
+                c = 0;
            }
            if (c && p1 < &linebuf[LBSIZE - 1])
                *p1++ = c;