Mesa (master): r600g: Silence uninitialized variable warnings.
Vinson Lee
vlee at kemper.freedesktop.org
Thu Jan 13 17:07:52 UTC 2011
Module: Mesa
Branch: master
Commit: eb70e58caf773f9a89aa16109705b84f0aa2a6f7
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=eb70e58caf773f9a89aa16109705b84f0aa2a6f7
Author: Vinson Lee <vlee at vmware.com>
Date: Thu Jan 13 09:07:19 2011 -0800
r600g: Silence uninitialized variable warnings.
---
src/gallium/drivers/r600/r600_asm.c | 8 ++++----
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 6c216c4..57acb87 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';
More information about the mesa-commit
mailing list