summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2017-04-05 14:07:57 -0600
committerBrian Paul <[email protected]>2017-04-07 13:46:44 -0600
commit8046c247deb68d1061f019fe5cc12c499978e7ac (patch)
tree64ade646f3045786cc2d94cda1834422be3b2a19 /src
parentee3f75f538beb8df448001a8038ba2ba732b5d8e (diff)
glx: silence uninitialized var warning
Signed-off-by: Brian Paul <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/glx/glx_pbuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/glx_pbuffer.c b/src/glx/glx_pbuffer.c
index 0c15d2ae4de..933b5d9ecd1 100644
--- a/src/glx/glx_pbuffer.c
+++ b/src/glx/glx_pbuffer.c
@@ -901,7 +901,7 @@ glXGetSelectedEvent(Display * dpy, GLXDrawable drawable, unsigned long *mask)
__glXSendError(dpy, GLXBadDrawable, drawable, X_GLXGetDrawableAttributes,
true);
#else
- unsigned int value;
+ unsigned int value = 0;
/* The non-sense with value is required because on LP64 platforms