From: Timo Sirainen Date: Mon, 10 Jun 2019 19:58:44 +0000 (+0300) Subject: lib-index: mail_index_sync_update_mailbox_offset() - Remove unnecessary code X-Git-Tag: 2.3.9~434 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6515f42874dfc3502b4c9803ac3c471b4837759d;p=thirdparty%2Fdovecot%2Fcore.git lib-index: mail_index_sync_update_mailbox_offset() - Remove unnecessary code The function call has no side effects, and the return values aren't used. --- diff --git a/src/lib-index/mail-index-sync.c b/src/lib-index/mail-index-sync.c index bdc0f39904..656a804d30 100644 --- a/src/lib-index/mail-index-sync.c +++ b/src/lib-index/mail-index-sync.c @@ -787,8 +787,6 @@ mail_index_sync_update_mailbox_offset(struct mail_index_sync_ctx *ctx) /* Everything wasn't synced. This usually means that syncing was used for locking and nothing was synced. Don't update tail offset. */ - mail_transaction_log_view_get_prev_pos(ctx->view->log_view, - &seq, &offset); return; } /* synced everything, but we might also have committed new