dovecot: Removed unused debug code.
dovecot at dovecot.org
dovecot at dovecot.org
Mon Aug 13 16:10:26 EEST 2007
details: http://hg.dovecot.org/dovecot/rev/ffe50f268e4e
changeset: 6281:ffe50f268e4e
user: Timo Sirainen <tss at iki.fi>
date: Sun Aug 12 19:41:55 2007 +0300
description:
Removed unused debug code.
diffstat:
1 file changed, 13 deletions(-)
src/lib-index/mail-index-view.c | 13 -------------
diffs (23 lines):
diff -r eb7c9d8ece54 -r ffe50f268e4e src/lib-index/mail-index-view.c
--- a/src/lib-index/mail-index-view.c Sun Aug 12 19:40:54 2007 +0300
+++ b/src/lib-index/mail-index-view.c Sun Aug 12 19:41:55 2007 +0300
@@ -53,19 +53,6 @@ static void _view_close(struct mail_inde
array_free(&view->module_contexts);
i_free(view);
}
-
-#ifdef DEBUG
-static void mail_index_view_check_nextuid(struct mail_index_view *view)
-{
- struct mail_index_record *rec;
-
- if (view->map->hdr.messages_count == 0)
- return;
-
- rec = MAIL_INDEX_MAP_IDX(view->map, view->map->hdr.messages_count-1);
- i_assert(rec->uid < view->map->hdr.next_uid);
-}
-#endif
bool mail_index_view_is_inconsistent(struct mail_index_view *view)
{
More information about the dovecot-cvs
mailing list