From 8046c247deb68d1061f019fe5cc12c499978e7ac Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 5 Apr 2017 14:07:57 -0600 Subject: glx: silence uninitialized var warning Signed-off-by: Brian Paul --- src/glx/glx_pbuffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/glx') 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 -- cgit v1.2.3