mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
validate: Remove some dead code
Next will never be NULL as `done` is always set to TRUE when next is set. CID 1415503
This commit is contained in:
parent
5c537bd627
commit
54e35bb082
1 changed files with 0 additions and 9 deletions
|
@ -818,15 +818,6 @@ find_next_pad (GstElement * element, GstPad * pad)
|
||||||
g_value_reset (&value);
|
g_value_reset (&value);
|
||||||
break;
|
break;
|
||||||
case GST_ITERATOR_RESYNC:
|
case GST_ITERATOR_RESYNC:
|
||||||
if (next) {
|
|
||||||
gst_object_unref (next);
|
|
||||||
next = NULL;
|
|
||||||
if (first) {
|
|
||||||
gst_object_unref (first);
|
|
||||||
first = NULL;
|
|
||||||
}
|
|
||||||
pick = FALSE;
|
|
||||||
}
|
|
||||||
gst_iterator_resync (iterator);
|
gst_iterator_resync (iterator);
|
||||||
break;
|
break;
|
||||||
case GST_ITERATOR_ERROR:
|
case GST_ITERATOR_ERROR:
|
||||||
|
|
Loading…
Reference in a new issue