summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-09-15 05:46:34 -0700
committerVinson Lee <[email protected]>2010-09-15 05:46:34 -0700
commit76c05761014ac0c4b02a38a09fd286676e941e58 (patch)
treeed350a7d54b4cdeafd2da5243f2dcb78979d0a7a /src
parent66a146dd058284b33c0f8fcbcc8ce7511a34ac46 (diff)
r600g: Silence uninitialized variable warning.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/r600/r600_hw_states.c2
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 d59c6e9b37d..de9491d4060 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;