]> diplodocus.org Git - nmh/commitdiff
mhshowsbr.c: Remove else after break in iconv_start().
authorRalph Corderoy <ralph@inputplus.co.uk>
Mon, 1 May 2017 20:49:38 +0000 (21:49 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Mon, 1 May 2017 22:13:10 +0000 (23:13 +0100)
uip/mhshowsbr.c

index a90a3ae..2ef4734 100644 (file)
@@ -1176,11 +1176,10 @@ iconv_start:
                    inform("convert_charset: errno = %d", errno);
                     status = NOTOK;
                     break;
-                } else {
-                    if (write (fd, dest_buffer, outbytes_before - outbytes)
-                        < 0) {
-                        advise (dest, "write");
-                    }
+                }
+
+                if (write (fd, dest_buffer, outbytes_before - outbytes) < 0) {
+                    advise (dest, "write");
                 }
             }