From eb70e58caf773f9a89aa16109705b84f0aa2a6f7 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Thu, 13 Jan 2011 09:07:19 -0800 Subject: [PATCH] r600g: Silence uninitialized variable warnings. --- src/gallium/drivers/r600/r600_asm.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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'; -- 2.30.2