From: Brian Paul Date: Wed, 5 Apr 2017 20:07:57 +0000 (-0600) Subject: glx: silence uninitialized var warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8046c247deb68d1061f019fe5cc12c499978e7ac;p=mesa.git glx: silence uninitialized var warning Signed-off-by: Brian Paul --- 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