diff options
author | Vinson Lee <vlee@vmware.com> | 2010-09-15 17:24:50 -0700 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2010-09-15 17:24:50 -0700 |
commit | b533bb7d86bca2e31ae6a2bfe406ebd5da4cdbd4 (patch) | |
tree | 6789b616b4505aadd6babcafe94506c57e3d554b /src/gallium | |
parent | cbc674879528e6b227aa2e67b6c58b54e24a3b97 (diff) |
nv50: Silence uninitialized variable warning.
Diffstat (limited to 'src/gallium')
-rw-r--r-- | 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 2faabc8d7d..921a1d5121 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); |