From: Ralph Corderoy Date: Thu, 20 Oct 2016 22:22:11 +0000 (+0100) Subject: Don't `else' after return. Simplify control flow. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/6d0045d42f005a1606c747c1efa5bf2744822617?ds=sidebyside Don't `else' after return. Simplify control flow. --- diff --git a/sbr/seq_list.c b/sbr/seq_list.c index 702def8b..aff9bacd 100644 --- a/sbr/seq_list.c +++ b/sbr/seq_list.c @@ -41,8 +41,8 @@ seq_list(struct msgs *mp, char *seqname) if (mp->curmsg) { snprintf(buffer, len, "%s", m_name(mp->curmsg)); return (buffer); - } else - return (NULL); + } + return (NULL); } /* If the folder is empty, just return NULL */