From 622b1fcc186190971102f438118b657a47fb406e Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 13 Mar 2013 08:35:21 -0600 Subject: [PATCH] glx: init screen = 0 to fix optimized build warning --- src/glx/glxcmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glx/glxcmds.c b/src/glx/glxcmds.c index 8874e3bebf6..7b62be34415 100644 --- a/src/glx/glxcmds.c +++ b/src/glx/glxcmds.c @@ -1375,7 +1375,7 @@ glXImportContextEXT(Display *dpy, GLXContextID contextID) struct glx_config *mode; uint32_t fbconfigID = 0; uint32_t visualID = 0; - uint32_t screen; + uint32_t screen = 0; Bool got_screen = False; /* The GLX_EXT_import_context spec says: -- 2.30.2