dovecot: Removed unneeded code.

dovecot at dovecot.org dovecot at dovecot.org
Sun Jul 1 01:05:50 EEST 2007


details:   http://hg.dovecot.org/dovecot/rev/55699bbeaec2
changeset: 5847:55699bbeaec2
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Jun 30 23:01:52 2007 +0300
description:
Removed unneeded code.

diffstat:

1 file changed, 2 insertions(+), 5 deletions(-)
src/lib-index/mail-index-sync-update.c |    7 ++-----

diffs (24 lines):

diff -r 21e529b8a701 -r 55699bbeaec2 src/lib-index/mail-index-sync-update.c
--- a/src/lib-index/mail-index-sync-update.c	Sat Jun 30 19:14:08 2007 +0300
+++ b/src/lib-index/mail-index-sync-update.c	Sat Jun 30 23:01:52 2007 +0300
@@ -694,8 +694,8 @@ int mail_index_sync_map(struct mail_inde
 	struct mail_index_sync_map_ctx sync_map_ctx;
 	const struct mail_transaction_header *thdr;
 	const void *tdata;
-	uint32_t prev_seq, mailbox_sync_seq;
-	uoff_t start_offset, prev_offset, mailbox_sync_offset;
+	uint32_t prev_seq;
+	uoff_t start_offset, prev_offset;
 	int ret;
 	bool had_dirty;
 
@@ -736,9 +736,6 @@ int mail_index_sync_map(struct mail_inde
 		return 0;
 	}
 
-	mail_transaction_log_get_mailbox_sync_pos(index->log, &mailbox_sync_seq,
-						  &mailbox_sync_offset);
-
 	/* view referenced the map. avoid unnecessary map cloning by
 	   unreferencing the map while view exists. */
 	map->refcount--;


More information about the dovecot-cvs mailing list