From: Brian Paul Date: Thu, 3 Sep 2009 21:44:22 +0000 (-0600) Subject: gallium/xlib: silence unitialized var warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=32156f3a1165624cd4e2d0d337809fb046bd9285;p=mesa.git gallium/xlib: silence unitialized var warning --- diff --git a/src/gallium/state_trackers/glx/xlib/xm_api.c b/src/gallium/state_trackers/glx/xlib/xm_api.c index a3d16516531..45ad694e234 100644 --- a/src/gallium/state_trackers/glx/xlib/xm_api.c +++ b/src/gallium/state_trackers/glx/xlib/xm_api.c @@ -743,7 +743,7 @@ XMesaContext XMesaCreateContext( XMesaVisual v, XMesaContext share_list ) { static GLboolean firstTime = GL_TRUE; struct pipe_screen *screen; - struct pipe_context *pipe; + struct pipe_context *pipe = NULL; XMesaContext c; GLcontext *mesaCtx; uint pf;