Mesa (master): r600g: Silence uninitialized variable warning.
Vinson Lee
vlee at kemper.freedesktop.org
Wed Sep 15 12:46:50 UTC 2010
Module: Mesa
Branch: master
Commit: 76c05761014ac0c4b02a38a09fd286676e941e58
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=76c05761014ac0c4b02a38a09fd286676e941e58
Author: Vinson Lee <vlee at vmware.com>
Date: Wed Sep 15 05:46:34 2010 -0700
r600g: Silence uninitialized variable warning.
---
src/gallium/drivers/r600/r600_hw_states.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/gallium/drivers/r600/r600_hw_states.c b/src/gallium/drivers/r600/r600_hw_states.c
index d59c6e9..de9491d 100644
--- a/src/gallium/drivers/r600/r600_hw_states.c
+++ b/src/gallium/drivers/r600/r600_hw_states.c
@@ -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;
More information about the mesa-commit
mailing list