]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-index: Remove mail_index_view.index_sync_view
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Wed, 20 Jan 2021 15:35:20 +0000 (17:35 +0200)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Mon, 3 May 2021 13:01:05 +0000 (13:01 +0000)
Nothing was using it.

src/lib-index/mail-index-sync.c
src/lib-index/mail-index-view-private.h

index f3b9eb3aa82c9be26a855d76a412c31e12627443..bbef82384de5701fd6b6aa730a55374fe03eb22e 100644 (file)
@@ -474,8 +474,6 @@ mail_index_sync_begin_to2(struct mail_index *index,
                return -1;
        }
 
-       ctx->view->index_sync_view = TRUE;
-
        /* create the transaction after the view has been updated with
           external transactions and marked as sync view */
        trans_flags = MAIL_INDEX_TRANSACTION_FLAG_EXTERNAL;
index 478c9ab07e3cf08484d95aeaa68cd9bf567bbf73..13c584cabdd55ff9a11ec809b04d038586ada17a 100644 (file)
@@ -76,8 +76,6 @@ struct mail_index_view {
        struct mail_index_transaction *transactions_list;
 
        bool inconsistent:1;
-       /* this view was created by mail_index_sync_begin() */
-       bool index_sync_view:1;
        /* this view is being synced */
        bool syncing:1;
 };