From 0ef703ef8b5176df2c593153d55a26fb914dd94e Mon Sep 17 00:00:00 2001 From: Ralph Corderoy Date: Thu, 20 Oct 2016 23:29:56 +0100 Subject: [PATCH] Don't `else' after return. Simplify control flow. --- uip/scansbr.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) { -- 2.56.0