diff options
Diffstat (limited to 'apps/tagtree.c')
-rw-r--r-- | apps/tagtree.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/tagtree.c b/apps/tagtree.c index 0506dd2edd..b6d0c8ac06 100644 --- a/apps/tagtree.c +++ b/apps/tagtree.c @@ -1411,10 +1411,6 @@ static struct tagentry* get_entries(struct tree_context *tc) return core_get_data(tc->cache.entries_handle); } -#ifdef HAVE_TC_RAMCACHE -extern struct tagcache_stat tc_stat; -#endif - static int retrieve_entries(struct tree_context *c, int offset, bool init) { struct tagcache_search tcs; @@ -1434,7 +1430,7 @@ static int retrieve_entries(struct tree_context *c, int offset, bool init) show_search_progress( #ifdef HAVE_DISK_STORAGE #ifdef HAVE_TC_RAMCACHE - tc_stat.ramcache ? true : + tagcache_is_in_ram() ? true : #endif storage_disk_is_active() #else |