Mark some unused variables as such.
[paraslash.git] / playlist.c
index 9afa812..62fd831 100644 (file)
@@ -144,8 +144,6 @@ int playlist_check_callback(__a_unused const struct osl_object *query,
  */
 void playlist_close(void)
 {
-       int ret;
-
        if (!current_playlist.name)
                return;
        free(current_playlist.name);
@@ -225,8 +223,8 @@ static int handle_audio_file_event(enum afs_events event, void *data)
        return score_add(row, 0); /* play it immediately */
 }
 
-int playlists_event_handler(enum afs_events event, struct para_buffer *pb,
-               void *data)
+int playlists_event_handler(enum afs_events event,
+       __a_unused struct para_buffer *pb, void *data)
 {
        int ret;