From a039d3a1a6c649b8a8496bf60066c48272551d47 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Fri, 25 Sep 2009 15:32:18 +0100 Subject: [PATCH] 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. --- sys/v4l/gstv4lelement.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/v4l/gstv4lelement.c b/sys/v4l/gstv4lelement.c index 81a76d4..27fae75 100644 --- a/sys/v4l/gstv4lelement.c +++ b/sys/v4l/gstv4lelement.c @@ -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) { -- 2.7.4