]> git.alsa-project.org Git - alsa-plugins.git/commitdiff
samplerate: fix unused variable warning
authorJaroslav Kysela <perex@perex.cz>
Thu, 5 Apr 2018 07:23:09 +0000 (09:23 +0200)
committerJaroslav Kysela <perex@perex.cz>
Thu, 5 Apr 2018 07:23:25 +0000 (09:23 +0200)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
rate/rate_samplerate.c

index 0b14a59000bf6448cdd1160d31c7148de7b94dd7..100d6f2b110e78ed94c16e13955348c599485a74 100644 (file)
@@ -154,14 +154,14 @@ static void pcm_src_close(void *obj)
 }
 
 #if SND_PCM_RATE_PLUGIN_VERSION >= 0x010002
-static int get_supported_rates(void *obj, unsigned int *rate_min,
+static int get_supported_rates(void *obj ATTRIBUTE_UNUSED, unsigned int *rate_min,
                               unsigned int *rate_max)
 {
        *rate_min = *rate_max = 0; /* both unlimited */
        return 0;
 }
 
-static void dump(void *obj, snd_output_t *out)
+static void dump(void *obj ATTRIBUTE_UNUSED, snd_output_t *out)
 {
        snd_output_printf(out, "Converter: libsamplerate\n");
 }