pad: Fix uninitialized variable compiler warning
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 9 May 2013 15:22:16 +0000 (17:22 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 9 May 2013 15:55:21 +0000 (17:55 +0200)
gst/gstpad.c

index 576074d..416d2c5 100644 (file)
@@ -5219,7 +5219,7 @@ static gboolean
 foreach_dispatch_function (GstPad * pad, PadEvent * ev, gpointer user_data)
 {
   ForeachDispatch *data = user_data;
-  gboolean ret;
+  gboolean ret = TRUE;
 
   if (ev->event) {
     GST_OBJECT_UNLOCK (pad);