dovecot-2.0: lmtp: Make static analyzer happier.

dovecot at dovecot.org dovecot at dovecot.org
Sat Jun 12 02:26:25 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/0565807f7ca1
changeset: 11528:0565807f7ca1
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Jun 12 00:26:22 2010 +0100
description:
lmtp: Make static analyzer happier.

diffstat:

 src/lmtp/commands.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r e3881b95a93d -r 0565807f7ca1 src/lmtp/commands.c
--- a/src/lmtp/commands.c	Sat Jun 12 00:24:35 2010 +0100
+++ b/src/lmtp/commands.c	Sat Jun 12 00:26:22 2010 +0100
@@ -597,7 +597,7 @@
 client_input_data_write_local(struct client *client, struct istream *input)
 {
 	struct mail *src_mail;
-	uid_t old_uid, first_uid;
+	uid_t old_uid, first_uid = (uid_t)-1;
 
 	if (client_open_raw_mail(client, input) < 0)
 		return;


More information about the dovecot-cvs mailing list