mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
fix another non shadowed variable
another variable that shouldn't have been removed in 034b6d5b
Change-Id: Ie16aa2687cec7f55e9cc2477951c228de18755cd
This commit is contained in:
parent
be65ec2338
commit
3ad8c0ad7b
1 changed files with 4 additions and 4 deletions
|
@ -4333,11 +4333,11 @@ static bool load_tagcache(void)
|
||||||
unsigned int searchflag = auto_update ? DCS_STORAGE_PATH :
|
unsigned int searchflag = auto_update ? DCS_STORAGE_PATH :
|
||||||
DCS_CACHED_PATH;
|
DCS_CACHED_PATH;
|
||||||
|
|
||||||
rc = dircache_search(searchflag | DCS_UPDATE_FILEREF,
|
int rc_cache = dircache_search(searchflag | DCS_UPDATE_FILEREF,
|
||||||
&tcrc_dcfrefs[idx_id], filename);
|
&tcrc_dcfrefs[idx_id], filename);
|
||||||
if (rc > 0) /* in cache and we have fileref */
|
if (rc_cache > 0) /* in cache and we have fileref */
|
||||||
idx->flag |= FLAG_DIRCACHE;
|
idx->flag |= FLAG_DIRCACHE;
|
||||||
else if (rc == 0) /* not in cache but okay */
|
else if (rc_cache == 0) /* not in cache but okay */
|
||||||
;
|
;
|
||||||
else if (auto_update)
|
else if (auto_update)
|
||||||
#else /* ndef HAVE_DIRCACHE */
|
#else /* ndef HAVE_DIRCACHE */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue