Mark some unused variables as such.
authorAndre Noll <maan@systemlinux.org>
Tue, 23 Oct 2007 16:36:12 +0000 (18:36 +0200)
committerAndre Noll <maan@systemlinux.org>
Tue, 23 Oct 2007 16:36:12 +0000 (18:36 +0200)
mood.c
playlist.c

diff --git a/mood.c b/mood.c
index a89ae85..46337f2 100644 (file)
--- a/mood.c
+++ b/mood.c
@@ -1020,7 +1020,7 @@ int reload_current_mood(void)
        return ret;
 }
 
-int moods_event_handler(enum afs_events event, struct para_buffer *pb,
+int moods_event_handler(enum afs_events event, __a_unused struct para_buffer *pb,
                void *data)
 {
        switch(event) {
index c6f09be..62fd831 100644 (file)
@@ -223,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;