Mesa (master): st/mesa: Silence uninitialized variable warning.

Vinson Lee vlee at kemper.freedesktop.org
Wed Jan 27 00:40:21 UTC 2010


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Tue Jan 26 16:37:10 2010 -0800

st/mesa: Silence uninitialized variable warning.

---

 src/mesa/state_tracker/st_cb_condrender.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/mesa/state_tracker/st_cb_condrender.c b/src/mesa/state_tracker/st_cb_condrender.c
index 780b40c..8483b93 100644
--- a/src/mesa/state_tracker/st_cb_condrender.c
+++ b/src/mesa/state_tracker/st_cb_condrender.c
@@ -69,6 +69,7 @@ st_BeginConditionalRender(GLcontext *ctx, struct gl_query_object *q,
       break;
    default:
       assert(0 && "bad mode in st_BeginConditionalRender");
+      m = PIPE_RENDER_COND_WAIT;
    }
 
    pipe->render_condition(pipe, stq->pq, m);




More information about the mesa-commit mailing list