From b51fb9b3f17fd5138e17288f1165c8b69fc95036 Mon Sep 17 00:00:00 2001 From: Ralph Corderoy Date: Thu, 20 Oct 2016 23:23:41 +0100 Subject: [PATCH] Don't `else' after return. Simplify control flow. --- uip/inc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/uip/inc.c b/uip/inc.c index aadfe98b..069e3ce5 100644 --- a/uip/inc.c +++ b/uip/inc.c @@ -176,10 +176,9 @@ maildir_srt(const void *va, const void *vb) const struct Maildir_entry *a = va, *b = vb; if (a->mtime > b->mtime) return 1; - else if (a->mtime < b->mtime) + if (a->mtime < b->mtime) return -1; - else - return 0; + return 0; } int -- 2.56.0