diff options
author | Brian Paul <brianp@vmware.com> | 2009-09-03 15:44:22 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-09-03 15:44:22 -0600 |
commit | 32156f3a1165624cd4e2d0d337809fb046bd9285 (patch) | |
tree | 5db23e32e02272838d5b4f0dd9732b928a0bb4ec | |
parent | 1c32caf075ce4015ba50d0aa9f0a2ff924c21970 (diff) |
gallium/xlib: silence unitialized var warning
-rw-r--r-- | src/gallium/state_trackers/glx/xlib/xm_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/glx/xlib/xm_api.c b/src/gallium/state_trackers/glx/xlib/xm_api.c index a3d1651653..45ad694e23 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; |