[dovecot-cvs] dovecot: We don't need to get the hidden array position anymore.
dovecot at dovecot.org
dovecot at dovecot.org
Wed May 23 02:30:43 EEST 2007
details: http://hg.dovecot.org/dovecot/rev/42a62cd60308
changeset: 5657:42a62cd60308
user: Timo Sirainen <tss at iki.fi>
date: Wed May 23 02:30:38 2007 +0300
description:
We don't need to get the hidden array position anymore.
diffstat:
1 file changed, 5 deletions(-)
src/lib-index/mail-transaction-log-append.c | 5 -----
diffs (22 lines):
diff -r 1273ce0585b3 -r 42a62cd60308 src/lib-index/mail-transaction-log-append.c
--- a/src/lib-index/mail-transaction-log-append.c Wed May 23 00:32:26 2007 +0300
+++ b/src/lib-index/mail-transaction-log-append.c Wed May 23 02:30:38 2007 +0300
@@ -367,7 +367,6 @@ mail_transaction_log_append_locked(struc
struct mail_index_header idx_hdr;
struct log_append_context ctx;
uoff_t append_offset;
- unsigned int old_hidden_syncs_count;
unsigned int lock_id;
index = mail_index_view_get_index(view);
@@ -417,10 +416,6 @@ mail_transaction_log_append_locked(struc
ctx.file = file;
ctx.trans = t;
ctx.output = buffer_create_dynamic(default_pool, 1024);
-
- /* Transactions can be hidden. Mark all such */
- old_hidden_syncs_count = !array_is_created(&view->syncs_hidden) ? 0 :
- array_count(&view->syncs_hidden);
/* send all extension introductions and resizes before appends
to avoid resize overhead as much as possible */
More information about the dovecot-cvs
mailing list