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
@ -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…
x
Reference in New Issue
Block a user