From: Timo Sirainen Date: Tue, 8 Nov 2011 22:09:35 +0000 (+0200) Subject: Make static analyzer happier. X-Git-Tag: 2.1.beta1~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=93b7a2177917da7c25dcc9ba15470127a6cb8610;p=thirdparty%2Fdovecot%2Fcore.git Make static analyzer happier. --- diff --git a/src/lib-storage/list/mailbox-list-index-sync.c b/src/lib-storage/list/mailbox-list-index-sync.c index 1840a7d986..a21325895b 100644 --- a/src/lib-storage/list/mailbox-list-index-sync.c +++ b/src/lib-storage/list/mailbox-list-index-sync.c @@ -98,6 +98,7 @@ mailbox_list_index_sync_name(struct mailbox_list_index_sync_context *ctx, node = parent; if (path[i] == NULL) { /* the entire path exists */ + i_assert(node != NULL); if (!mail_index_lookup_seq(ctx->view, node->uid, &seq)) i_panic("mailbox list index: lost uid=%u", node->uid); } else {