From: Ralph Corderoy Date: Thu, 20 Oct 2016 22:20:20 +0000 (+0100) Subject: Don't `else' after return. Simplify control flow. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/508764681b06bd42c81f5202b65c382c9585a0de?hp=43ee212f8c79670ecbb55f1f11b53677dd7dd10c Don't `else' after return. Simplify control flow. --- diff --git a/sbr/m_mktemp.c b/sbr/m_mktemp.c index 6bfa705f..2ab8d129 100644 --- a/sbr/m_mktemp.c +++ b/sbr/m_mktemp.c @@ -156,9 +156,8 @@ m_mktemps( if (suffix == NULL) { if ((tmpfil = m_mktemp2(NULL, pfx_in, fd_ret, fp_ret))) { return add(tmpfil, NULL); - } else { - return NULL; } + return NULL; } #if HAVE_MKSTEMPS