summaryrefslogtreecommitdiff
path: root/apps/tagcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tagcache.c')
-rw-r--r--apps/tagcache.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c
index 4615cfd55b..f4309a1294 100644
--- a/apps/tagcache.c
+++ b/apps/tagcache.c
@@ -2329,10 +2329,6 @@ static bool load_tagcache(void)
2329 // idx = &hdr->indices[hdr->entry_count[i]]; 2329 // idx = &hdr->indices[hdr->entry_count[i]];
2330 idx = &hdr->indices[fe->idx_id]; 2330 idx = &hdr->indices[fe->idx_id];
2331 2331
2332 /* Check if the entry has already been removed */
2333 if (idx->flag & FLAG_DELETED)
2334 continue;
2335
2336 if (fe->tag_length >= (long)sizeof(buf)-1) 2332 if (fe->tag_length >= (long)sizeof(buf)-1)
2337 { 2333 {
2338 read(fd, buf, 10); 2334 read(fd, buf, 10);
@@ -2351,6 +2347,10 @@ static bool load_tagcache(void)
2351 return false; 2347 return false;
2352 } 2348 }
2353 2349
2350 /* Check if the entry has already been removed */
2351 if (idx->flag & FLAG_DELETED)
2352 continue;
2353
2354# ifdef HAVE_DIRCACHE 2354# ifdef HAVE_DIRCACHE
2355 if (dircache_is_enabled()) 2355 if (dircache_is_enabled())
2356 { 2356 {