mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +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
6b96a87003
commit
ef00d85f16
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