From 2ccd243d5533b46047a44263037645b97e00cd65 Mon Sep 17 00:00:00 2001 From: Marc Plano-Lesay Date: Thu, 14 Apr 2011 09:32:19 +0200 Subject: [PATCH] audioresample: fix unused-but-set-variable warnings with gcc 4.6 https://bugzilla.gnome.org/show_bug.cgi?id=647294 --- gst/audioresample/gstaudioresample.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/audioresample/gstaudioresample.c b/gst/audioresample/gstaudioresample.c index 8f9ea3be81..9364a8666c 100644 --- a/gst/audioresample/gstaudioresample.c +++ b/gst/audioresample/gstaudioresample.c @@ -1464,7 +1464,7 @@ gst_audio_resample_get_property (GObject * object, guint prop_id, static gboolean _benchmark_int_float (SpeexResamplerState * st) { - gint16 in[BENCHMARK_SIZE] = { 0, }, out[BENCHMARK_SIZE / 2]; + gint16 in[BENCHMARK_SIZE] = { 0, }, G_GNUC_UNUSED out[BENCHMARK_SIZE / 2]; gfloat in_tmp[BENCHMARK_SIZE], out_tmp[BENCHMARK_SIZE / 2]; gint i; guint32 inlen = BENCHMARK_SIZE, outlen = BENCHMARK_SIZE / 2;