summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2006-07-22 08:04:28 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2006-07-22 08:04:28 +0000
commit42d9b1593dc78e903584b07b47659952e48f4ad7 (patch)
tree558165da88943c9a510008caee7ce26a17e8f748
parentf49f3bf997699e11ca209b97dddfb7255583c0f8 (diff)
downloadrockbox-42d9b1593dc78e903584b07b47659952e48f4ad7.tar.gz
rockbox-42d9b1593dc78e903584b07b47659952e48f4ad7.zip
Initialize the status structure correctly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10280 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/tagcache.c5
1 files 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)
3190#endif 3190#endif
3191 } 3191 }
3192 3192
3193 logf("tagcache check done");
3193 check_done = true; 3194 check_done = true;
3194 break ; 3195 break ;
3195 3196
@@ -3281,9 +3282,7 @@ bool tagcache_is_ramcache(void)
3281 3282
3282void tagcache_init(void) 3283void tagcache_init(void)
3283{ 3284{
3284 stat.initialized = false; 3285 memset(&stat, 0, sizeof(struct tagcache_stat));
3285 stat.ready = false;
3286 stat.commit_step = 0;
3287 filenametag_fd = -1; 3286 filenametag_fd = -1;
3288 current_serial = 0; 3287 current_serial = 0;
3289 3288