diff options
author | Marc Plano-Lesay <marc.planolesay@gmail.com> | 2011-04-14 09:32:19 +0200 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2011-04-24 12:43:33 +0100 |
commit | 2ccd243d5533b46047a44263037645b97e00cd65 (patch) | |
tree | d0ea772e5766cecfa69cb817b10fadd878ce9590 | |
parent | 35c1cf16d9a0750cd98d9202126ced7654272ac0 (diff) |
audioresample: fix unused-but-set-variable warnings with gcc 4.6
https://bugzilla.gnome.org/show_bug.cgi?id=647294
-rw-r--r-- | gst/audioresample/gstaudioresample.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/audioresample/gstaudioresample.c b/gst/audioresample/gstaudioresample.c index 8f9ea3be8..9364a8666 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; |