dovecot-2.2: lib-mail: Compiler warning fix

dovecot at dovecot.org dovecot at dovecot.org
Sun May 11 19:53:23 UTC 2014


details:   http://hg.dovecot.org/dovecot-2.2/rev/6bb26098a45c
changeset: 17375:6bb26098a45c
user:      Timo Sirainen <tss at iki.fi>
date:      Sun May 11 22:52:30 2014 +0300
description:
lib-mail: Compiler warning fix

diffstat:

 src/lib-mail/message-header-encode.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 2392c1c0c751 -r 6bb26098a45c src/lib-mail/message-header-encode.c
--- a/src/lib-mail/message-header-encode.c	Sun May 11 22:33:21 2014 +0300
+++ b/src/lib-mail/message-header-encode.c	Sun May 11 22:52:30 2014 +0300
@@ -161,7 +161,7 @@
 	unsigned int i, j, first_line_len, cur_line_len, last_idx;
 	unsigned int enc_chars, enc_len, base64_len, q_len;
 	const unsigned char *next_line_input;
-	unsigned int next_line_len;
+	unsigned int next_line_len = 0;
 	bool use_q, cr;
 
 	/* find the first word that needs encoding */


More information about the dovecot-cvs mailing list