validate: remove redundant pre-condition in monitor_factory_create
The same check is already done at the head of the function. https://bugzilla.gnome.org/show_bug.cgi?id=736019
This commit is contained in:
parent
f900f53e95
commit
f7955f5249
@ -70,7 +70,6 @@ gst_validate_monitor_factory_create (GstObject * target,
|
|||||||
(GST_ELEMENT_CAST (target), runner, parent));
|
(GST_ELEMENT_CAST (target), runner, parent));
|
||||||
}
|
}
|
||||||
|
|
||||||
g_return_val_if_fail (target != NULL, NULL);
|
|
||||||
gst_validate_override_registry_attach_overrides (monitor);
|
gst_validate_override_registry_attach_overrides (monitor);
|
||||||
return monitor;
|
return monitor;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user