summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-09-15 05:34:29 -0700
committerVinson Lee <[email protected]>2010-09-15 05:34:29 -0700
commit9aee4be5e010725f3f06a5638532752c400c2f0f (patch)
tree054053d00e3b04eaec96b0bbd500f8b4b176e912 /src/gallium/drivers/r600
parent7290c5982cc60f3a9658512a99db6cc08a29e77f (diff)
r600g: Silence uninitialized variable warning.
Diffstat (limited to 'src/gallium/drivers/r600')
-rw-r--r--src/gallium/drivers/r600/eg_hw_states.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/eg_hw_states.c b/src/gallium/drivers/r600/eg_hw_states.c
index f3f1dc7b0a7..621e36e1bbe 100644
--- a/src/gallium/drivers/r600/eg_hw_states.c
+++ b/src/gallium/drivers/r600/eg_hw_states.c
@@ -358,7 +358,7 @@ static void eg_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;