]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
imapc: Minor code cleanup.
authorTimo Sirainen <tss@iki.fi>
Mon, 4 Apr 2011 12:41:19 +0000 (15:41 +0300)
committerTimo Sirainen <tss@iki.fi>
Mon, 4 Apr 2011 12:41:19 +0000 (15:41 +0300)
src/lib-storage/index/imapc/imapc-mailbox.c

index 6c76c2e9c260cee1c6c981b4f707cd60faec3168..a070d6fd8b18f9732d844f4c2fed0a716b96d5cc 100644 (file)
@@ -279,7 +279,6 @@ static void imapc_untagged_expunge(const struct imapc_untagged_reply *reply,
                /* expunging a message in index */
                imapc_seqmap_expunge(seqmap, rseq);
                mail_index_expunge(mbox->delayed_sync_trans, lseq);
-               i_assert(array_count(&mbox->delayed_sync_trans->expunges) > 0);
        } else if (lseq <= mail_index_view_get_messages_count(mbox->delayed_sync_view)) {
                /* expunging a message that was added to transaction,
                   but not yet committed. expunging it here takes