Mercurial > dovecot > original-hg > dovecot-1.2
changeset 9359:6debbb31df39 HEAD
lib-index: Minor code cleanup.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 06 Sep 2009 19:06:52 -0400 |
parents | dc66872f1856 |
children | 4530228c8993 |
files | src/lib-index/mail-transaction-log-file.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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 @@ { 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 @@ 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,