v4l2: Make sure to initialize variables before using them
This commit is contained in:
parent
3e92738c29
commit
7ef43f021b
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user