From 23330894a5cfdeeeb56f7441abd9c7c26ac670b9 Mon Sep 17 00:00:00 2001 From: Ralph Corderoy Date: Thu, 20 Oct 2016 23:23:38 +0100 Subject: [PATCH] Don't `else' after return. Simplify control flow. --- uip/flist.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/uip/flist.c b/uip/flist.c index 84f6ba29..914581e5 100644 --- a/uip/flist.c +++ b/uip/flist.c @@ -600,8 +600,7 @@ CompareFolders(struct Folder *f1, struct Folder *f2) { if (!alphaOrder && f1->priority != f2->priority) return f1->priority - f2->priority; - else - return strcmp(f1->name, f2->name); + return strcmp(f1->name, f2->name); } /* -- 2.56.0