From: Vinson Lee Date: Thu, 13 Jan 2011 17:07:19 +0000 (-0800) Subject: r600g: Silence uninitialized variable warnings. X-Git-Tag: mesa-7.11-rc1~2763 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eb70e58caf773f9a89aa16109705b84f0aa2a6f7;p=platform%2Fupstream%2Fmesa.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 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';