Initialize the status structure correctly.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10280 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Miika Pekkarinen 2006-07-22 08:04:28 +00:00
parent f49f3bf997
commit 42d9b1593d

View file

@ -3190,6 +3190,7 @@ static void tagcache_thread(void)
#endif #endif
} }
logf("tagcache check done");
check_done = true; check_done = true;
break ; break ;
@ -3281,9 +3282,7 @@ bool tagcache_is_ramcache(void)
void tagcache_init(void) void tagcache_init(void)
{ {
stat.initialized = false; memset(&stat, 0, sizeof(struct tagcache_stat));
stat.ready = false;
stat.commit_step = 0;
filenametag_fd = -1; filenametag_fd = -1;
current_serial = 0; current_serial = 0;