]> diplodocus.org Git - nmh/commitdiff
mhparse.c: Remove a couple of else after continue.
authorRalph Corderoy <ralph@inputplus.co.uk>
Mon, 1 May 2017 20:46:20 +0000 (21:46 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Mon, 1 May 2017 22:11:58 +0000 (23:11 +0100)
In openQuoted() and parse_header_attrs().

uip/mhparse.c

index 73296ca..79ef696 100644 (file)
@@ -2054,11 +2054,10 @@ openQuoted (CT ct, char **file)
                     * sequence; let's decode it (above). */
                    quoted = 1;
                    continue;
-               } else {
-                   /* One or both of the next 2 is out of range, making this
-                    * an invalid escape sequence; just show the raw bytes
-                    * (below). */
                }
+                /* One or both of the next 2 is out of range, making this
+                 * an invalid escape sequence; just show the raw bytes
+                 * (below). */
            }
 
            /* Just show the raw byte. */
@@ -3318,7 +3317,8 @@ parse_header_attrs (const char *filename, const char *fieldname,
            if (*vp == '*' && vp < up - 1) {
                partial = 1;
                continue;
-           } else if (*vp == '*' && vp == up - 1) {
+           }
+            if (*vp == '*' && vp == up - 1) {
                encoded = 1;
            } else if (partial) {
                if (isdigit((unsigned char) *vp))