From 42d9b1593dc78e903584b07b47659952e48f4ad7 Mon Sep 17 00:00:00 2001 From: Miika Pekkarinen Date: Sat, 22 Jul 2006 08:04:28 +0000 Subject: [PATCH] Initialize the status structure correctly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10280 a1c6a512-1295-4272-9138-f99709370657 --- apps/tagcache.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/tagcache.c b/apps/tagcache.c index 47786ad787..77cded88b7 100644 --- a/apps/tagcache.c +++ b/apps/tagcache.c @@ -3190,6 +3190,7 @@ static void tagcache_thread(void) #endif } + logf("tagcache check done"); check_done = true; break ; @@ -3281,9 +3282,7 @@ bool tagcache_is_ramcache(void) void tagcache_init(void) { - stat.initialized = false; - stat.ready = false; - stat.commit_step = 0; + memset(&stat, 0, sizeof(struct tagcache_stat)); filenametag_fd = -1; current_serial = 0;