pad: Fix uninitialized variable compiler warning

This commit is contained in:
Sebastian Dröge 2013-05-09 17:22:16 +02:00
parent 1b87f0c36a
commit d500ffc300

View file

@ -5219,7 +5219,7 @@ static gboolean
foreach_dispatch_function (GstPad * pad, PadEvent * ev, gpointer user_data) foreach_dispatch_function (GstPad * pad, PadEvent * ev, gpointer user_data)
{ {
ForeachDispatch *data = user_data; ForeachDispatch *data = user_data;
gboolean ret; gboolean ret = TRUE;
if (ev->event) { if (ev->event) {
GST_OBJECT_UNLOCK (pad); GST_OBJECT_UNLOCK (pad);