dovecot-1.2: lib-index: Minor code cleanup.

dovecot at dovecot.org dovecot at dovecot.org
Mon Sep 7 02:06:57 EEST 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/6debbb31df39
changeset: 9359:6debbb31df39
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Sep 06 19:06:52 2009 -0400
description:
lib-index: Minor code cleanup.

diffstat:

1 file changed, 1 insertion(+), 2 deletions(-)
src/lib-index/mail-transaction-log-file.c |    3 +--

diffs (20 lines):

diff -r dc66872f1856 -r 6debbb31df39 src/lib-index/mail-transaction-log-file.c
--- a/src/lib-index/mail-transaction-log-file.c	Sun Sep 06 18:32:03 2009 -0400
+++ b/src/lib-index/mail-transaction-log-file.c	Sun Sep 06 19:06:52 2009 -0400
@@ -1000,7 +1000,7 @@ int mail_transaction_log_file_get_modseq
 {
 	const struct mail_transaction_header *hdr;
 	struct modseq_cache *cache;
-	uoff_t cur_offset, prev_offset;
+	uoff_t cur_offset;
 	uint64_t cur_modseq;
 	int ret;
 
@@ -1037,7 +1037,6 @@ int mail_transaction_log_file_get_modseq
 
 	i_assert(cur_offset >= file->buffer_offset);
 	while (cur_offset < file->sync_offset) {
-		prev_offset = cur_offset;
 		if (log_get_synced_record(file, &cur_offset, &hdr) < 0)
 			return -1;
 		if (mail_transaction_header_has_modseq(hdr, hdr + 1,


More information about the dovecot-cvs mailing list