alphacolor: Removing unused variable
authorAndré Dieb Martins <andre.dieb@gmail.com>
Sun, 4 Apr 2010 22:02:41 +0000 (19:02 -0300)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 5 Apr 2010 08:31:45 +0000 (10:31 +0200)
Fixes bug #614843.

gst/alpha/gstalphacolor.c

index 15edaf1..15e0f8f 100644 (file)
@@ -630,7 +630,6 @@ gst_alpha_color_set_caps (GstBaseTransform * btrans, GstCaps * incaps,
 static GstFlowReturn
 gst_alpha_color_transform_ip (GstBaseTransform * btrans, GstBuffer * inbuf)
 {
-  GstFlowReturn ret = GST_FLOW_OK;
   GstAlphaColor *alpha = GST_ALPHA_COLOR (btrans);
 
   if (G_UNLIKELY (GST_BUFFER_SIZE (inbuf) != 4 * alpha->width * alpha->height)) {
@@ -648,7 +647,7 @@ gst_alpha_color_transform_ip (GstBaseTransform * btrans, GstBuffer * inbuf)
   alpha->process (GST_BUFFER_DATA (inbuf), GST_BUFFER_SIZE (inbuf),
       alpha->matrix);
 
-  return ret;
+  return GST_FLOW_OK;
 }
 
 static gboolean