From 3cc5090e96d22a5e0a46be3e0fa7ee8626389af4 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Sun, 19 Apr 2009 14:02:03 +0200 Subject: [PATCH] lame: Remove unneeded variable, it's assigned a value never read. --- ext/lame/gstlame.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/lame/gstlame.c b/ext/lame/gstlame.c index 906faaeb78..d83bbcfa50 100644 --- a/ext/lame/gstlame.c +++ b/ext/lame/gstlame.c @@ -1009,14 +1009,14 @@ gst_lame_sink_event (GstPad * pad, GstEvent * event) case GST_EVENT_FLUSH_STOP: { guchar *mp3_data = NULL; - gint mp3_buffer_size, mp3_size = 0; + gint mp3_buffer_size; GST_DEBUG_OBJECT (lame, "handling FLUSH stop event"); /* clear buffers */ mp3_buffer_size = 7200; mp3_data = g_malloc (mp3_buffer_size); - mp3_size = lame_encode_flush (lame->lgf, mp3_data, mp3_buffer_size); + lame_encode_flush (lame->lgf, mp3_data, mp3_buffer_size); ret = gst_pad_push_event (lame->srcpad, event); break;