diff options
author | Vinson Lee <vlee@vmware.com> | 2010-09-15 05:31:31 -0700 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2010-09-15 05:31:31 -0700 |
commit | 7290c5982cc60f3a9658512a99db6cc08a29e77f (patch) | |
tree | 6e403195678a463343d4a0f9ecba2bbd94af3a7e /src/gallium | |
parent | f20f2cc3306310f6fc4c338f91cfac10f98335d3 (diff) |
r600g: Silence uninitialized variable warning.
Diffstat (limited to 'src/gallium')
-rw-r--r-- | 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 9e5406f45e..662b9b9115 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); |