diff options
author | William Wilgus <wilgus.william@gmail.com> | 2022-11-15 19:17:41 -0500 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2022-11-15 19:17:41 -0500 |
commit | 3ad8c0ad7ba9413d4179dc0bb698de0d1cdf28f3 (patch) | |
tree | 00780a89b8e092910e6502abb0cbe0f67bcad06e | |
parent | be65ec23388937cab264cb4d0174b6471487e9ce (diff) | |
download | rockbox-3ad8c0ad7ba9413d4179dc0bb698de0d1cdf28f3.tar.gz rockbox-3ad8c0ad7ba9413d4179dc0bb698de0d1cdf28f3.zip |
fix another non shadowed variable
another variable that shouldn't have been removed in 034b6d5b
Change-Id: Ie16aa2687cec7f55e9cc2477951c228de18755cd
-rw-r--r-- | apps/tagcache.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c index a6c4c875be..b91195813e 100644 --- a/apps/tagcache.c +++ b/apps/tagcache.c | |||
@@ -4333,11 +4333,11 @@ static bool load_tagcache(void) | |||
4333 | unsigned int searchflag = auto_update ? DCS_STORAGE_PATH : | 4333 | unsigned int searchflag = auto_update ? DCS_STORAGE_PATH : |
4334 | DCS_CACHED_PATH; | 4334 | DCS_CACHED_PATH; |
4335 | 4335 | ||
4336 | rc = dircache_search(searchflag | DCS_UPDATE_FILEREF, | 4336 | int rc_cache = dircache_search(searchflag | DCS_UPDATE_FILEREF, |
4337 | &tcrc_dcfrefs[idx_id], filename); | 4337 | &tcrc_dcfrefs[idx_id], filename); |
4338 | if (rc > 0) /* in cache and we have fileref */ | 4338 | if (rc_cache > 0) /* in cache and we have fileref */ |
4339 | idx->flag |= FLAG_DIRCACHE; | 4339 | idx->flag |= FLAG_DIRCACHE; |
4340 | else if (rc == 0) /* not in cache but okay */ | 4340 | else if (rc_cache == 0) /* not in cache but okay */ |
4341 | ; | 4341 | ; |
4342 | else if (auto_update) | 4342 | else if (auto_update) |
4343 | #else /* ndef HAVE_DIRCACHE */ | 4343 | #else /* ndef HAVE_DIRCACHE */ |