# HG changeset patch # User Timo Sirainen # Date 1252278414 14400 # Node ID 69152c0d40a1c1d90025858818ed279b579c6abd # Parent ba690c9aea70340a5255f6dd23bcff68b474a810 lib-index: Minor code cleanup. diff -r ba690c9aea70 -r 69152c0d40a1 src/lib-index/mail-transaction-log-file.c --- 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);