dovecot-2.2: *-login: Removed dead assignment to make static ana...

dovecot at dovecot.org dovecot at dovecot.org
Wed Aug 19 08:40:28 UTC 2015


details:   http://hg.dovecot.org/dovecot-2.2/rev/0f442376beae
changeset: 18974:0f442376beae
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Aug 19 11:34:36 2015 +0300
description:
*-login: Removed dead assignment to make static analyzer happy.

diffstat:

 src/login-common/main.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff -r 58f65e129b4d -r 0f442376beae src/login-common/main.c
--- a/src/login-common/main.c	Tue Aug 18 23:20:35 2015 +0300
+++ b/src/login-common/main.c	Wed Aug 19 11:34:36 2015 +0300
@@ -123,8 +123,8 @@
 				  &conn->remote_ip, NULL, &ssl_set, &other_sets);
 
 	if (!ssl_connections && !conn->ssl) {
-		client = client_create(conn->fd, FALSE, pool, conn,
-				       set, ssl_set, other_sets);
+		(void)client_create(conn->fd, FALSE, pool, conn,
+				    set, ssl_set, other_sets);
 	} else {
 		fd_ssl = ssl_proxy_alloc(conn->fd, &conn->remote_ip, pool,
 					 set, ssl_set, &proxy);


More information about the dovecot-cvs mailing list