Mesa (master): r600g: Silence uninitialized variable warning.
Vinson Lee
vlee at kemper.freedesktop.org
Wed Sep 15 12:32:04 UTC 2010
Module: Mesa
Branch: master
Commit: 7290c5982cc60f3a9658512a99db6cc08a29e77f
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7290c5982cc60f3a9658512a99db6cc08a29e77f
Author: Vinson Lee <vlee at vmware.com>
Date: Wed Sep 15 05:31:31 2010 -0700
r600g: Silence uninitialized variable warning.
---
src/gallium/drivers/r600/r600_asm.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/gallium/drivers/r600/r600_asm.c b/src/gallium/drivers/r600/r600_asm.c
index 9e5406f..662b9b9 100644
--- a/src/gallium/drivers/r600/r600_asm.c
+++ b/src/gallium/drivers/r600/r600_asm.c
@@ -384,7 +384,7 @@ static int check_vector(struct r600_bc *bc, struct r600_bc_alu *alu)
static int check_and_set_bank_swizzle(struct r600_bc *bc, struct r600_bc_alu *alu_first)
{
- struct r600_bc_alu *alu;
+ struct r600_bc_alu *alu = NULL;
int num_instr = 1;
init_gpr(alu_first);
More information about the mesa-commit
mailing list