Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix another non shadowed variable

another variable that shouldn't have been removed in 034b6d5b

Change-Id: Ie16aa2687cec7f55e9cc2477951c228de18755cd

+4 -4
+4 -4
apps/tagcache.c
··· 4333 4333 unsigned int searchflag = auto_update ? DCS_STORAGE_PATH : 4334 4334 DCS_CACHED_PATH; 4335 4335 4336 - rc = dircache_search(searchflag | DCS_UPDATE_FILEREF, 4337 - &tcrc_dcfrefs[idx_id], filename); 4338 - if (rc > 0) /* in cache and we have fileref */ 4336 + int rc_cache = dircache_search(searchflag | DCS_UPDATE_FILEREF, 4337 + &tcrc_dcfrefs[idx_id], filename); 4338 + if (rc_cache > 0) /* in cache and we have fileref */ 4339 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 4342 else if (auto_update) 4343 4343 #else /* ndef HAVE_DIRCACHE */