Module: Mesa
Branch: master
Commit: b533bb7d86bca2e31ae6a2bfe406ebd5da4cdbd4
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b533bb7d86bca2e31ae6a2bfe406ebd5da4cdbd4

Author: Vinson Lee <[email protected]>
Date:   Wed Sep 15 17:24:50 2010 -0700

nv50: Silence uninitialized variable warning.

---

 src/gallium/drivers/nv50/nv50_tgsi_to_nc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/nv50/nv50_tgsi_to_nc.c 
b/src/gallium/drivers/nv50/nv50_tgsi_to_nc.c
index 2faabc8..921a1d5 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);

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to