mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +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);
|
||||
break;
|
||||
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);
|
||||
break;
|
||||
case GST_ITERATOR_ERROR:
|
||||
|
|
Loading…
Reference in a new issue