summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2023-01-23 14:46:02 +0000
committerAidan MacDonald <amachronic@protonmail.com>2023-01-23 14:46:02 +0000
commitc0c1a6e5f0a52a32370b3b2a68c6ce10c42d2565 (patch)
tree6d1b6a4d4593d31372e2262ced408021ea681edd
parent65b3ff81c5fba2e72aa21c7c80dc7133b51e042b (diff)
downloadrockbox-c0c1a6e5f0.tar.gz
rockbox-c0c1a6e5f0.zip
Fix yellow 65b3ff81c5
Change-Id: Ibf99e4e6f98021b35d420520219287336bf25f0e
-rw-r--r--apps/playlist.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/playlist.c b/apps/playlist.c
index bf65bb8656..1115d9a4e1 100644
--- a/apps/playlist.c
+++ b/apps/playlist.c
@@ -232,6 +232,9 @@ static void dc_thread_start(struct playlist_info *playlist, bool is_dirty)
#ifdef HAVE_DIRCACHE
if (playlist == &current_playlist)
queue_post(&playlist_queue, PLAYLIST_DC_SCAN_START, is_dirty);
+#else
+ (void)playlist;
+ (void)is_dirty;
#endif
}
@@ -240,6 +243,8 @@ static void dc_thread_stop(struct playlist_info *playlist)
#ifdef HAVE_DIRCACHE
if (playlist == &current_playlist)
queue_send(&playlist_queue, PLAYLIST_DC_SCAN_STOP, 0);
+#else
+ (void)playlist;
#endif
}