From: Ralph Corderoy Date: Thu, 20 Oct 2016 22:16:32 +0000 (+0100) Subject: Don't `else' after return. Simplify control flow. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/fea68d3492b2a433f0972986bf22a55f8f6158f2?ds=sidebyside;hp=c6b3a45192568ef4679d9ca32af1806522bd295c Don't `else' after return. Simplify control flow. --- diff --git a/sbr/dtime.c b/sbr/dtime.c index acab8774..066a72d7 100644 --- a/sbr/dtime.c +++ b/sbr/dtime.c @@ -232,9 +232,9 @@ dtime (time_t *clock, int alpha_timezone) if (alpha_timezone) /* use alpha-numeric timezones */ return dasctime (dlocaltime (clock), TW_NULL); - else - /* use numeric timezones */ - return dasctime (dlocaltime (clock), TW_ZONE); + + /* use numeric timezones */ + return dasctime (dlocaltime (clock), TW_ZONE); }