aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-15 08:33:32 +0100
committerMax Kellermann <max@duempel.org>2009-01-15 08:33:32 +0100
commit8fe867c71d4c061ab1d57ca0084e803ba67f31f9 (patch)
tree168846ac9f9e02831c861b80534558ed0f08e1e4
parent5232f054705688bbc18c7947ff29b237c9cafc85 (diff)
downloadmpd-8fe867c71d4c061ab1d57ca0084e803ba67f31f9.tar.gz
mpd-8fe867c71d4c061ab1d57ca0084e803ba67f31f9.tar.xz
mpd-8fe867c71d4c061ab1d57ca0084e803ba67f31f9.zip
decoder_api: added G_GNUC_UNUSED attribute to decoder_initialized()
In NDEBUG, the parameter "decoder" is not used.
-rw-r--r--src/decoder_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder_api.c b/src/decoder_api.c
index dad0456b3..4e34db71d 100644
--- a/src/decoder_api.c
+++ b/src/decoder_api.c
@@ -32,7 +32,7 @@
#include <assert.h>
#include <stdlib.h>
-void decoder_initialized(struct decoder * decoder,
+void decoder_initialized(G_GNUC_UNUSED struct decoder * decoder,
const struct audio_format *audio_format,
bool seekable, float total_time)
{