diff options
| author | Miika Pekkarinen <miipekk@ihme.org> | 2006-07-22 08:04:28 +0000 |
|---|---|---|
| committer | Miika Pekkarinen <miipekk@ihme.org> | 2006-07-22 08:04:28 +0000 |
| commit | 42d9b1593dc78e903584b07b47659952e48f4ad7 (patch) | |
| tree | 558165da88943c9a510008caee7ce26a17e8f748 /apps | |
| parent | f49f3bf997699e11ca209b97dddfb7255583c0f8 (diff) | |
| download | rockbox-42d9b1593dc78e903584b07b47659952e48f4ad7.zip rockbox-42d9b1593dc78e903584b07b47659952e48f4ad7.tar.gz rockbox-42d9b1593dc78e903584b07b47659952e48f4ad7.tar.bz2 rockbox-42d9b1593dc78e903584b07b47659952e48f4ad7.tar.xz | |
Initialize the status structure correctly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10280 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/tagcache.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c index 47786ad..77cded8 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; |