pad: fix 'res' may be used uninitialized in this function
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 4 Jun 2012 14:19:26 +0000 (16:19 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 4 Jun 2012 14:19:26 +0000 (16:19 +0200)
gst/gstpad.c

index 0580587..fd672ab 100644 (file)
@@ -4464,7 +4464,7 @@ idle_probe_stopped:
 gboolean
 gst_pad_push_event (GstPad * pad, GstEvent * event)
 {
-  gboolean res;
+  gboolean res = FALSE;
   GstPadProbeType type;
   gboolean sticky, serialized;