Module: Mesa
Branch: master
Commit: 7ec865202e6b054c3afaba6180d42a29f30f8964
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7ec865202e6b054c3afaba6180d42a29f30f8964

Author: Brian Paul <[email protected]>
Date:   Thu Sep  3 15:44:22 2009 -0600

gallium/xlib: silence unitialized var warning

---

 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 651a9a9..2c7b27a 100644
--- a/src/gallium/state_trackers/glx/xlib/xm_api.c
+++ b/src/gallium/state_trackers/glx/xlib/xm_api.c
@@ -755,7 +755,7 @@ XMesaContext XMesaCreateContext( XMesaVisual v, 
XMesaContext share_list )
 {
    static GLboolean firstTime = GL_TRUE;
    static struct pipe_screen *screen = NULL;
-   struct pipe_context *pipe;
+   struct pipe_context *pipe = NULL;
    XMesaContext c;
    GLcontext *mesaCtx;
    uint pf;

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to