From 9e0bf2caf0500aef978abfb50f8c8111bb1d9831 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Tue, 23 Oct 2007 18:36:12 +0200 Subject: [PATCH] Mark some unused variables as such. --- mood.c | 2 +- playlist.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mood.c b/mood.c index a89ae85f..46337f28 100644 --- 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) { diff --git a/playlist.c b/playlist.c index c6f09bef..62fd831a 100644 --- a/playlist.c +++ b/playlist.c @@ -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; -- 2.39.5