mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-07 12:21:17 +00:00
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.
This commit is contained in:
parent
ccf5d6551a
commit
a039d3a1a6
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue