From: Timo Sirainen Date: Tue, 8 Feb 2011 20:18:14 +0000 (+0200) Subject: lib-index: sync_stamp and sync_size fields are unused, mark them as such. X-Git-Tag: 2.1.alpha1~361 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b84451fa6ada675ae504725702e0815967124cbb;p=thirdparty%2Fdovecot%2Fcore.git lib-index: sync_stamp and sync_size fields are unused, mark them as such. --- diff --git a/src/doveadm/doveadm-dump-index.c b/src/doveadm/doveadm-dump-index.c index 5900d3bbcf..abafbb3bd0 100644 --- a/src/doveadm/doveadm-dump-index.c +++ b/src/doveadm/doveadm-dump-index.c @@ -97,8 +97,6 @@ static void dump_hdr(struct mail_index *index) printf("log file tail offset ..... = %u\n", hdr->log_file_tail_offset); printf("log file head offset ..... = %u\n", hdr->log_file_head_offset); } - printf("sync size ................ = %llu\n", (unsigned long long)hdr->sync_size); - printf("sync stamp ............... = %u (%s)\n", hdr->sync_stamp, unixdate2str(hdr->sync_stamp)); printf("day stamp ................ = %u (%s)\n", hdr->day_stamp, unixdate2str(hdr->day_stamp)); for (i = 0; i < N_ELEMENTS(hdr->day_first_uid); i++) printf("day first uid[%u] ......... = %u\n", i, hdr->day_first_uid[i]); diff --git a/src/doveadm/doveadm-dump-log.c b/src/doveadm/doveadm-dump-log.c index 2deba3b74b..ecd020c9bd 100644 --- a/src/doveadm/doveadm-dump-log.c +++ b/src/doveadm/doveadm-dump-log.c @@ -204,8 +204,6 @@ static struct { HDRF(log_file_seq), HDRF(log_file_tail_offset), HDRF(log_file_head_offset), - HDRF(sync_size), - HDRF(sync_stamp), HDRF(day_stamp) }; diff --git a/src/lib-index/mail-index.h b/src/lib-index/mail-index.h index 0983c970c1..7019ef3f7e 100644 --- a/src/lib-index/mail-index.h +++ b/src/lib-index/mail-index.h @@ -85,8 +85,8 @@ struct mail_index_header { uint32_t log_file_tail_offset; uint32_t log_file_head_offset; - uint64_t sync_size; - uint32_t sync_stamp; + uint64_t unused_old_sync_size; + uint32_t unused_old_sync_stamp; /* daily first UIDs that have been added to index. */ uint32_t day_stamp;