dovecot-2.0: lib-index: Minor code cleanup.
dovecot at dovecot.org
dovecot at dovecot.org
Mon Sep 7 02:07:01 EEST 2009
details: http://hg.dovecot.org/dovecot-2.0/rev/69152c0d40a1
changeset: 9887:69152c0d40a1
user: Timo Sirainen <tss at iki.fi>
date: Sun Sep 06 19:06:54 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 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 @@ 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;
@@ -1025,7 +1025,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;
mail_transaction_update_modseq(hdr, hdr + 1, &cur_modseq);
More information about the dovecot-cvs
mailing list