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:
Tim-Philipp Müller 2009-09-25 15:32:18 +01:00
parent ccf5d6551a
commit a039d3a1a6

View file

@ -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) {