From: Ralph Corderoy Date: Thu, 20 Oct 2016 22:29:35 +0000 (+0100) Subject: Don't `else' after return. Simplify control flow. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/8fd34425a97a7f50a8fc3514cb32d71400e2a4bb?ds=inline Don't `else' after return. Simplify control flow. --- diff --git a/uip/picksbr.c b/uip/picksbr.c index f262e9ca..0217aa15 100644 --- a/uip/picksbr.c +++ b/uip/picksbr.c @@ -916,11 +916,12 @@ tws_special (char *ap) if ((i -= tw->tw_wday) > 0) i -= 7; } - else + else { if (*ap != '-') return NULL; - else /* -ddd days ago */ - i = atoi (ap); /* we should error check this */ + /* -ddd days ago */ + i = atoi (ap); /* we should error check this */ + } clock += (long) ((60 * 60 * 24) * i); return dlocaltime (&clock);