r600g: Silence uninitialized variable warning.
authorVinson Lee <vlee@vmware.com>
Wed, 15 Sep 2010 12:46:34 +0000 (05:46 -0700)
committerVinson Lee <vlee@vmware.com>
Wed, 15 Sep 2010 12:46:34 +0000 (05:46 -0700)
src/gallium/drivers/r600/r600_hw_states.c

index d59c6e9b37dab73354264b55486205591f44c4c1..de9491d40609f55256c01a1f0a90d2f3416a9f83 100644 (file)
@@ -353,7 +353,7 @@ static void r600_dsa(struct r600_context *rctx, struct radeon_state *rstate)
        unsigned db_depth_control, alpha_test_control, alpha_ref, db_shader_control;
        unsigned stencil_ref_mask, stencil_ref_mask_bf, db_render_override, db_render_control;
        struct r600_shader *rshader;
-       struct r600_query *rquery;
+       struct r600_query *rquery = NULL;
        boolean query_running;
        int i;