dovecot-2.2: Make static analyzer happier.

dovecot at dovecot.org dovecot at dovecot.org
Tue Jun 25 01:25:49 EEST 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/b5e8aed1bf61
changeset: 16547:b5e8aed1bf61
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Jun 25 01:24:51 2013 +0300
description:
Make static analyzer happier.

diffstat:

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

diffs (12 lines):

diff -r 09b278416493 -r b5e8aed1bf61 src/doveadm/dsync/dsync-brain-mailbox-tree.c
--- a/src/doveadm/dsync/dsync-brain-mailbox-tree.c	Tue Jun 25 01:23:17 2013 +0300
+++ b/src/doveadm/dsync/dsync-brain-mailbox-tree.c	Tue Jun 25 01:24:51 2013 +0300
@@ -27,7 +27,7 @@
 			continue;
 
 		sep = mail_namespace_get_sep(ns);
-		if (brain->hierarchy_sep == '\0') {
+		if (first_ns == NULL) {
 			brain->hierarchy_sep = sep;
 			first_ns = ns;
 		} else if (brain->hierarchy_sep != sep) {


More information about the dovecot-cvs mailing list