v4l: fix compiler warning
Fix 'variable may be used uninitialized' compiler warning (which is true in theory, but can't actually ever happen, since we always call the function with check=FALSE). Fixes #596313.
This commit is contained in:
parent
ccf5d6551a
commit
a039d3a1a6
@ -122,7 +122,7 @@ static gboolean
|
||||
gst_v4l_class_probe_devices_with_udev (GstV4lElementClass * klass,
|
||||
gboolean check)
|
||||
{
|
||||
GUdevClient *client;
|
||||
GUdevClient *client = NULL;
|
||||
GList *item;
|
||||
|
||||
if (!check) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user