mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-26 00:58:12 +00:00
deviceproviderfactory: compare class against NULL
gstdeviceproviderfactory.c:501:20: error: comparison between pointer and zero character constant [-Werror=pointer-compare] if (classes[0] == '\0')
This commit is contained in:
parent
cd9e154c73
commit
50cb645d1f
1 changed files with 1 additions and 1 deletions
|
@ -499,7 +499,7 @@ gst_device_provider_factory_has_classesv (GstDeviceProviderFactory * factory,
|
|||
const gchar *found;
|
||||
guint len;
|
||||
|
||||
if (classes[0] == '\0')
|
||||
if (classes[0] == NULL)
|
||||
continue;
|
||||
|
||||
found = strstr (klass, classes[0]);
|
||||
|
|
Loading…
Reference in a new issue