From b533bb7d86bca2e31ae6a2bfe406ebd5da4cdbd4 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Wed, 15 Sep 2010 17:24:50 -0700 Subject: [PATCH] nv50: Silence uninitialized variable warning. --- src/gallium/drivers/nv50/nv50_tgsi_to_nc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2