From 7ef43f021b1389efcfca8a151c0724dcc890b005 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 10 Nov 2009 11:52:24 +0100 Subject: [PATCH] v4l2: Make sure to initialize variables before using them --- sys/v4l2/gstv4l2object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/v4l2/gstv4l2object.c b/sys/v4l2/gstv4l2object.c index 3712b043c8..1a15947373 100644 --- a/sys/v4l2/gstv4l2object.c +++ b/sys/v4l2/gstv4l2object.c @@ -86,7 +86,7 @@ static gboolean gst_v4l2_class_probe_devices_with_udev (GstElementClass * klass, gboolean check, GList ** klass_devices) { - GUdevClient *client; + GUdevClient *client = NULL; GList *item; if (!check) {