From: Ralph Corderoy Date: Wed, 23 Aug 2017 21:11:49 +0000 (+0100) Subject: Don't need to `else' after done() at end of then-block. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/605516b7c2e68efcd681478d40b210e6af968d58?ds=inline;hp=8a5a1a5303ddc67f06350a57a515853724a16e31 Don't need to `else' after done() at end of then-block. --- diff --git a/uip/install-mh.c b/uip/install-mh.c index 359a78da..61853195 100644 --- a/uip/install-mh.c +++ b/uip/install-mh.c @@ -108,8 +108,7 @@ main (int argc, char **argv) if (stat (defpath, &st) != NOTOK) { if (check) done(0); - - else if (autof) + if (autof) adios (NULL, "invocation error"); adios (NULL, "You already have an nmh profile, use an editor to modify it"); } diff --git a/uip/post.c b/uip/post.c index 1b266462..08e52426 100644 --- a/uip/post.c +++ b/uip/post.c @@ -669,9 +669,8 @@ main (int argc, char **argv) if (debug) { pl (); done (0); - } else { - fclose (out); } + fclose (out); /* * Here's how we decide which address to use as the envelope-from