mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 13:25:56 +00:00
registry: name is never NULL
When looking up a feature by name, we never call this internal function with NULL so we don't have to check for it.
This commit is contained in:
parent
d722d16155
commit
50b9a3ecc3
1 changed files with 0 additions and 3 deletions
|
@ -729,9 +729,6 @@ gst_registry_get_plugin_list (GstRegistry * registry)
|
|||
static GstPluginFeature *
|
||||
gst_registry_lookup_feature_locked (GstRegistry * registry, const char *name)
|
||||
{
|
||||
if (G_UNLIKELY (name == NULL))
|
||||
return NULL;
|
||||
|
||||
return g_hash_table_lookup (registry->feature_hash, name);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue