From: Brian Paul Date: Wed, 13 Mar 2013 14:35:21 +0000 (-0600) Subject: glx: init screen = 0 to fix optimized build warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=622b1fcc186190971102f438118b657a47fb406e;p=mesa.git glx: init screen = 0 to fix optimized build warning --- 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: