From: Timo Sirainen Date: Sun, 6 Sep 2009 23:06:54 +0000 (-0400) Subject: lib-index: Minor code cleanup. X-Git-Tag: 2.0.alpha1~165 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6c77165712bcac2fd93a6a1b7c9460a3482a66b7;p=thirdparty%2Fdovecot%2Fcore.git lib-index: Minor code cleanup. --HG-- branch : HEAD --- diff --git a/src/lib-index/mail-transaction-log-file.c b/src/lib-index/mail-transaction-log-file.c index d43e2932ad..7b2e77d05e 100644 --- a/src/lib-index/mail-transaction-log-file.c +++ b/src/lib-index/mail-transaction-log-file.c @@ -988,7 +988,7 @@ int mail_transaction_log_file_get_modseq_next_offset( { 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 @@ int mail_transaction_log_file_get_modseq_next_offset( 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);