dovecot-2.2: Compiler warning fix

dovecot at dovecot.org dovecot at dovecot.org
Fri Mar 22 11:17:48 EET 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/b839613c1573
changeset: 16088:b839613c1573
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Mar 22 11:17:14 2013 +0200
description:
Compiler warning fix

diffstat:

 src/doveadm/dsync/dsync-mailbox-import.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r d211174a2392 -r b839613c1573 src/doveadm/dsync/dsync-mailbox-import.c
--- a/src/doveadm/dsync/dsync-mailbox-import.c	Fri Mar 22 10:29:12 2013 +0200
+++ b/src/doveadm/dsync/dsync-mailbox-import.c	Fri Mar 22 11:17:14 2013 +0200
@@ -252,6 +252,8 @@
 	const unsigned char *data1, *data2;
 	size_t size1, size2, size;
 
+	*cmp_r = -1; /* quiet gcc */
+
 	for (;;) {
 		(void)i_stream_read_data(input1, &data1, &size1, 0);
 		(void)i_stream_read_data(input2, &data2, &size2, 0);


More information about the dovecot-cvs mailing list