audioresample: fix unused-but-set-variable warnings with gcc 4.6

https://bugzilla.gnome.org/show_bug.cgi?id=647294
This commit is contained in:
Marc Plano-Lesay 2011-04-14 09:32:19 +02:00 committed by Tim-Philipp Müller
parent 35c1cf16d9
commit 2ccd243d55

View file

@ -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;