From: Vinson Lee Date: Wed, 15 Sep 2010 12:31:31 +0000 (-0700) Subject: r600g: Silence uninitialized variable warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7290c5982cc60f3a9658512a99db6cc08a29e77f;p=mesa.git r600g: Silence uninitialized variable warning. --- diff --git a/src/gallium/drivers/r600/r600_asm.c b/src/gallium/drivers/r600/r600_asm.c index 9e5406f45e1..662b9b9115d 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);