From: Vinson Lee Date: Mon, 15 Feb 2010 05:02:18 +0000 (-0800) Subject: glx: Silence uninitialized variable warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=86d98fa4a2dfdae75e6ecd9a7e6e73d4183075a0;p=mesa.git glx: Silence uninitialized variable warning. --- diff --git a/src/glx/dri_glx.c b/src/glx/dri_glx.c index 0ff53c324f5..f9fe9a25db4 100644 --- a/src/glx/dri_glx.c +++ b/src/glx/dri_glx.c @@ -323,6 +323,7 @@ CallCreateNewScreen(Display * dpy, int scrn, __GLXscreenConfigs * psc, framebuffer.base = MAP_FAILED; framebuffer.dev_priv = NULL; + framebuffer.size = 0; if (!XF86DRIOpenConnection(dpy, scrn, &hSAREA, &BusID)) { ErrorMessageF("XF86DRIOpenConnection failed\n");