# HG changeset patch # User Timo Sirainen # Date 1239664855 14400 # Node ID be8d15cb98e79e19101217ab9c2316d6a53ef21a # Parent 67369ba9f447fa6f41de0c3571933de11f92a5c5 Removed duplicate mail_index_is_in_memory(). diff -r 67369ba9f447 -r be8d15cb98e7 src/lib-index/mail-index.c --- a/src/lib-index/mail-index.c Mon Apr 13 18:23:37 2009 -0400 +++ b/src/lib-index/mail-index.c Mon Apr 13 19:20:55 2009 -0400 @@ -606,11 +606,6 @@ return 0; } -bool mail_index_is_in_memory(struct mail_index *index) -{ - return MAIL_INDEX_IS_IN_MEMORY(index); -} - void mail_index_mark_corrupted(struct mail_index *index) { index->indexid = 0; diff -r 67369ba9f447 -r be8d15cb98e7 src/lib-index/mail-index.h --- a/src/lib-index/mail-index.h Mon Apr 13 18:23:37 2009 -0400 +++ b/src/lib-index/mail-index.h Mon Apr 13 19:20:55 2009 -0400 @@ -210,8 +210,6 @@ bool mail_index_is_in_memory(struct mail_index *index); /* Move the index into memory. Returns 0 if ok, -1 if error occurred. */ int mail_index_move_to_memory(struct mail_index *index); -/* Returns TRUE if index is currently in memory. */ -bool mail_index_is_in_memory(struct mail_index *index); struct mail_cache *mail_index_get_cache(struct mail_index *index);