summaryrefslogtreecommitdiffstats
path: root/src/glx
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-03-13 08:35:21 -0600
committerBrian Paul <[email protected]>2013-03-14 18:09:42 -0600
commit622b1fcc186190971102f438118b657a47fb406e (patch)
tree77423ff998d6072b168d685020e9e0704a3beb08 /src/glx
parent91df4d746bd50b328b9f4b55126c95c046087a4d (diff)
glx: init screen = 0 to fix optimized build warning
Diffstat (limited to 'src/glx')
-rw-r--r--src/glx/glxcmds.c2
1 files changed, 1 insertions, 1 deletions
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: