diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-09-25 15:32:18 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-10-07 10:15:52 +0100 |
commit | a039d3a1a6c649b8a8496bf60066c48272551d47 (patch) | |
tree | bd3e4d8dc9138cd3337cd9c083bc03f9e2077543 /sys | |
parent | ccf5d6551aad36c9ab44516dac6a9436d0e6101a (diff) |
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.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/v4l/gstv4lelement.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/v4l/gstv4lelement.c b/sys/v4l/gstv4lelement.c index 81a76d43..27fae757 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) { |