summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50/nv50_tgsi_to_nc.c
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-09-15 17:24:50 -0700
committerVinson Lee <vlee@vmware.com>2010-09-15 17:24:50 -0700
commitb533bb7d86bca2e31ae6a2bfe406ebd5da4cdbd4 (patch)
tree6789b616b4505aadd6babcafe94506c57e3d554b /src/gallium/drivers/nv50/nv50_tgsi_to_nc.c
parentcbc674879528e6b227aa2e67b6c58b54e24a3b97 (diff)
downloadexternal_mesa3d-b533bb7d86bca2e31ae6a2bfe406ebd5da4cdbd4.zip
external_mesa3d-b533bb7d86bca2e31ae6a2bfe406ebd5da4cdbd4.tar.gz
external_mesa3d-b533bb7d86bca2e31ae6a2bfe406ebd5da4cdbd4.tar.bz2
nv50: Silence uninitialized variable warning.
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_tgsi_to_nc.c')
-rw-r--r--src/gallium/drivers/nv50/nv50_tgsi_to_nc.c2
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);