From: Vinson Lee Date: Thu, 13 Jan 2011 17:07:19 +0000 (-0800) Subject: r600g: Silence uninitialized variable warnings. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eb70e58caf773f9a89aa16109705b84f0aa2a6f7;p=mesa.git r600g: Silence uninitialized variable warnings. --- 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';