nv50: Silence uninitialized variable warning.
authorVinson Lee <vlee@vmware.com>
Thu, 16 Sep 2010 00:24:50 +0000 (17:24 -0700)
committerVinson Lee <vlee@vmware.com>
Thu, 16 Sep 2010 00:24:50 +0000 (17:24 -0700)
src/gallium/drivers/nv50/nv50_tgsi_to_nc.c

index 2faabc8d7d4b40a7df8c6f833f4a6f3ab8982a65..921a1d5121d2bed1ca6017fe40a028c0d171266a 100644 (file)
@@ -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);