# HG changeset patch # User Timo Sirainen # Date 1239664842 14400 # Node ID 1143c696126adf2be33461d06fe3e1833034dd9a # Parent 206af25d21bcadbb69f803c8710c1f50919a2eb1 Removed duplicate mail_index_is_in_memory(). diff -r 206af25d21bc -r 1143c696126a 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:42 2009 -0400 @@ -588,11 +588,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 206af25d21bc -r 1143c696126a 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:42 2009 -0400 @@ -195,8 +195,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);