From: Ralph Corderoy Date: Thu, 20 Oct 2016 22:29:56 +0000 (+0100) Subject: Don't `else' after return. Simplify control flow. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/0ef703ef8b5176df2c593153d55a26fb914dd94e?ds=sidebyside;hp=b14d14e3d08c4b677d2d051731b934da20debf99 Don't `else' after return. Simplify control flow. --- diff --git a/uip/scansbr.c b/uip/scansbr.c index 6033c3c1..8d2a46d2 100644 --- a/uip/scansbr.c +++ b/uip/scansbr.c @@ -157,9 +157,8 @@ scan (FILE *inb, int innum, int outnum, char *nfs, int width, int curflg, if (ferror(inb)) { advise("read", "unable to"); /* "read error" */ return SCNFAT; - } else { - return SCNEOF; } + return SCNEOF; } if (outnum) {