mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
glcontext: Initialize variable
Avoids the following warning: gstglcontext.c:647:58: error: 'prev' may be used uninitialized in this function [-Werror=maybe-uninitialized]
This commit is contained in:
parent
5b79423416
commit
e064d280ea
1 changed files with 1 additions and 1 deletions
|
@ -585,7 +585,7 @@ _share_group_descendant (GstGLContext * context, GstGLContext * other_context,
|
|||
GstGLContext ** root)
|
||||
{
|
||||
GstGLContext *next = gst_object_ref (context);
|
||||
GstGLContext *prev;
|
||||
GstGLContext *prev = NULL;
|
||||
|
||||
/* given a context tree where --> means "has other gl context":
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue