From: Ralph Corderoy Date: Wed, 13 Sep 2017 22:15:50 +0000 (+0100) Subject: new.c: Order two return statements to match comment. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/c576ad2674c37a1c63f004c71049998f38854c64 new.c: Order two return statements to match comment. No change in behaviour. --- diff --git a/uip/new.c b/uip/new.c index 88d66ba1..ae5f3765 100644 --- a/uip/new.c +++ b/uip/new.c @@ -370,10 +370,9 @@ doit(char *cur, char *folders, char *sequences[]) /* Found current folder in fprev mode; if we have a * previous node in the list, return it; else return * the last node. */ - if (prev == NULL) { - return last; - } - return prev; + if (prev) + return prev; + return last; } } else if (run_mode == RM_UNSEEN) { int status;