glxproxy: warning fix
glxcmds.c: In function ‘CreateContext.clone.6’: glxcmds.c:105:19: warning: ‘be_fbconfigId’ may be used uninitialized in this function glxcmds.c:104:14: warning: ‘be_vid’ may be used uninitialized in this function Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
767b93e783
commit
3b9de273a9
|
@ -101,8 +101,8 @@ static int CreateContext(__GLXclientState *cl,
|
|||
int from_screen = screen;
|
||||
int to_screen = screen;
|
||||
DMXScreenInfo *dmxScreen;
|
||||
VisualID be_vid;
|
||||
GLXFBConfigID be_fbconfigId;
|
||||
VisualID be_vid = 0;
|
||||
GLXFBConfigID be_fbconfigId = 0;
|
||||
int num_be_screens;
|
||||
Display *dpy;
|
||||
|
||||
|
|
Loading…
Reference in New Issue