deviceproviderfactory: compare class against NULL
authorWim Taymans <wtaymans@redhat.com>
Mon, 20 Feb 2017 09:25:50 +0000 (10:25 +0100)
committerWim Taymans <wtaymans@redhat.com>
Mon, 20 Feb 2017 09:25:50 +0000 (10:25 +0100)
commit50cb645d1f0503b6cdf3b3ba8d0bee3ff34783c0
tree1632585984fb9c15ac90f53e2b1576c025aff0f1
parentcd9e154c73f641dbeab943f5153333f4220c65c7
deviceproviderfactory: compare class against NULL

gstdeviceproviderfactory.c:501:20: error: comparison between pointer and zero character constant [-Werror=pointer-compare]
     if (classes[0] == '\0')
gst/gstdeviceproviderfactory.c