From: Ralph Corderoy Date: Fri, 21 Oct 2016 23:40:30 +0000 (+0100) Subject: Don't `else' after return. Simplify control flow. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/11e1e41683f5897ebd3dbb0f2f6b58e41e918fb3?ds=sidebyside Don't `else' after return. Simplify control flow. --- diff --git a/mts/smtp/smtp.c b/mts/smtp/smtp.c index 4fe71547..f4308ba5 100644 --- a/mts/smtp/smtp.c +++ b/mts/smtp/smtp.c @@ -100,9 +100,9 @@ sm_init (char *client, char *server, char *port, int watch, int verbose, if (sm_mts == MTS_SMTP) return smtp_init (client, server, port, watch, verbose, debug, sasl, saslmech, user, oauth_svc, tls); - else - return sendmail_init (client, watch, verbose, debug, sasl, - saslmech, user); + + return sendmail_init (client, watch, verbose, debug, sasl, + saslmech, user); } static int