From: Vinson Lee Date: Thu, 16 Sep 2010 00:24:50 +0000 (-0700) Subject: nv50: Silence uninitialized variable warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b533bb7d86bca2e31ae6a2bfe406ebd5da4cdbd4;p=mesa.git nv50: Silence uninitialized variable warning. --- diff --git a/src/gallium/drivers/nv50/nv50_tgsi_to_nc.c b/src/gallium/drivers/nv50/nv50_tgsi_to_nc.c index 2faabc8d7d4..921a1d5121d 100644 --- a/src/gallium/drivers/nv50/nv50_tgsi_to_nc.c +++ b/src/gallium/drivers/nv50/nv50_tgsi_to_nc.c @@ -1539,7 +1539,7 @@ bld_instruction(struct bld_context *bld, struct nv_value *src0; struct nv_value *src1; struct nv_value *src2; - struct nv_value *dst0[4]; + struct nv_value *dst0[4] = { 0 }; struct nv_value *temp; int c; uint opcode = translate_opcode(insn->Instruction.Opcode);