summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-11-10 11:52:24 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-11-11 10:45:23 +0100
commit7ef43f021b1389efcfca8a151c0724dcc890b005 (patch)
tree1de6ab2147283c17ba085d82711f59d6416a0bf0
parent3e92738c296e55c16139ef29ca023b14aa606d5e (diff)
v4l2: Make sure to initialize variables before using them
-rw-r--r--sys/v4l2/gstv4l2object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/v4l2/gstv4l2object.c b/sys/v4l2/gstv4l2object.c
index 3712b043..1a159473 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) {