summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2011-01-13 09:07:19 -0800
committerVinson Lee <vlee@vmware.com>2011-01-13 09:07:19 -0800
commiteb70e58caf773f9a89aa16109705b84f0aa2a6f7 (patch)
treeeda322ed0dfae60f0dd81da0dc86247cb7860e5b
parentd76f1da7cb4a9c5666e2364f90eb09552e839b55 (diff)
r600g: Silence uninitialized variable warnings.
-rw-r--r--src/gallium/drivers/r600/r600_asm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/r600/r600_asm.c b/src/gallium/drivers/r600/r600_asm.c
index 6c216c4d5f8..57acb87240d 100644
--- a/src/gallium/drivers/r600/r600_asm.c
+++ b/src/gallium/drivers/r600/r600_asm.c
@@ -1092,10 +1092,10 @@ void r600_bc_clear(struct r600_bc *bc)
void r600_bc_dump(struct r600_bc *bc)
{
- struct r600_bc_cf *cf;
- struct r600_bc_alu *alu;
- struct r600_bc_vtx *vtx;
- struct r600_bc_tex *tex;
+ struct r600_bc_cf *cf = NULL;
+ struct r600_bc_alu *alu = NULL;
+ struct r600_bc_vtx *vtx = NULL;
+ struct r600_bc_tex *tex = NULL;
unsigned i, id;
char chip = '6';