diff options
author | Vinson Lee <[email protected]> | 2010-09-15 17:27:50 -0700 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2010-09-15 17:27:50 -0700 |
commit | 84e41b738bc397d59c192f2035b4f220f48250dc (patch) | |
tree | 413097ccc548d6756c38bb06fce138b065599a82 /src/gallium/drivers/nv50 | |
parent | b533bb7d86bca2e31ae6a2bfe406ebd5da4cdbd4 (diff) |
nv50: Silence uninitialized variable warning.
Diffstat (limited to 'src/gallium/drivers/nv50')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_tgsi_to_nc.c | 3 |
1 files changed, 2 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 921a1d5121d..012d100e7aa 100644 --- a/src/gallium/drivers/nv50/nv50_tgsi_to_nc.c +++ b/src/gallium/drivers/nv50/nv50_tgsi_to_nc.c @@ -289,7 +289,8 @@ bld_phi(struct bld_context *bld, struct nv_basic_block *b, struct bld_value_stack *stack) { struct nv_basic_block *in; - struct nv_value *vals[16], *val; + struct nv_value *vals[16] = { 0 }; + struct nv_value *val; struct nv_instruction *phi; int i, j, n; |