Mercurial > dovecot > core-2.2
changeset 9887:69152c0d40a1 HEAD
lib-index: Minor code cleanup.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 06 Sep 2009 19:06:54 -0400 |
parents | ba690c9aea70 |
children | 551c273f4844 |
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 19:01:13 2009 -0400 +++ b/src/lib-index/mail-transaction-log-file.c Sun Sep 06 19:06:54 2009 -0400 @@ -988,7 +988,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; @@ -1025,7 +1025,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; mail_transaction_update_modseq(hdr, hdr + 1, &cur_modseq);