dovecot-2.0: Compiler warning fix.

dovecot at dovecot.org dovecot at dovecot.org
Thu Oct 15 03:50:13 EEST 2009


details:   http://hg.dovecot.org/dovecot-2.0/rev/e8e508c44d6e
changeset: 10065:e8e508c44d6e
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Oct 14 20:50:06 2009 -0400
description:
Compiler warning fix.

diffstat:

1 file changed, 1 insertion(+), 2 deletions(-)
src/lib-lda/lmtp-client.c |    3 +--

diffs (20 lines):

diff -r 0ae1bf609141 -r e8e508c44d6e src/lib-lda/lmtp-client.c
--- a/src/lib-lda/lmtp-client.c	Wed Oct 14 20:40:42 2009 -0400
+++ b/src/lib-lda/lmtp-client.c	Wed Oct 14 20:50:06 2009 -0400
@@ -146,7 +146,7 @@ lmtp_client_data_next(struct lmtp_client
 {
 	struct lmtp_rcpt *rcpt;
 	unsigned int i, count;
-	bool last;
+	bool last = TRUE;
 
 	switch (client->protocol) {
 	case LMTP_CLIENT_PROTOCOL_SMTP:
@@ -159,7 +159,6 @@ lmtp_client_data_next(struct lmtp_client
 					      rcpt[i].context);
 		}
 		client->rcpt_next_data_idx = count;
-		last = TRUE;
 		break;
 	case LMTP_CLIENT_PROTOCOL_LMTP:
 		rcpt = array_idx_modifiable(&client->recipients,


More information about the dovecot-cvs mailing list