diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-11-10 11:52:24 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-11-11 10:45:23 +0100 |
commit | 7ef43f021b1389efcfca8a151c0724dcc890b005 (patch) | |
tree | 1de6ab2147283c17ba085d82711f59d6416a0bf0 | |
parent | 3e92738c296e55c16139ef29ca023b14aa606d5e (diff) |
v4l2: Make sure to initialize variables before using them
-rw-r--r-- | sys/v4l2/gstv4l2object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/v4l2/gstv4l2object.c b/sys/v4l2/gstv4l2object.c index 3712b043c..1a1594737 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) { |