From 605516b7c2e68efcd681478d40b210e6af968d58 Mon Sep 17 00:00:00 2001 From: Ralph Corderoy Date: Wed, 23 Aug 2017 22:11:49 +0100 Subject: [PATCH] Don't need to `else' after done() at end of then-block. --- uip/install-mh.c | 3 +-- uip/post.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) 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 -- 2.56.0