Commit a039d3a1 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller
Browse files

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.
parent ccf5d655
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment