aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-09-15 17:24:50 -0700
committerVinson Lee <[email protected]>2010-09-15 17:24:50 -0700
commitb533bb7d86bca2e31ae6a2bfe406ebd5da4cdbd4 (patch)
tree6789b616b4505aadd6babcafe94506c57e3d554b /src/gallium/drivers/nv50
parentcbc674879528e6b227aa2e67b6c58b54e24a3b97 (diff)
nv50: Silence uninitialized variable warning.
Diffstat (limited to 'src/gallium/drivers/nv50')
-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 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);