From 8fd34425a97a7f50a8fc3514cb32d71400e2a4bb Mon Sep 17 00:00:00 2001 From: Ralph Corderoy Date: Thu, 20 Oct 2016 23:29:35 +0100 Subject: [PATCH] Don't `else' after return. Simplify control flow. --- uip/picksbr.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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); -- 2.56.0