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:
parent
f49f3bf997
commit
42d9b1593d
1 changed files with 2 additions and 3 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue