projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b533bb7
)
nv50: Silence uninitialized variable warning.
author
Vinson Lee
<vlee@vmware.com>
Thu, 16 Sep 2010 00:27:50 +0000
(17:27 -0700)
committer
Vinson Lee
<vlee@vmware.com>
Thu, 16 Sep 2010 00:27:50 +0000
(17:27 -0700)
src/gallium/drivers/nv50/nv50_tgsi_to_nc.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nv50/nv50_tgsi_to_nc.c
b/src/gallium/drivers/nv50/nv50_tgsi_to_nc.c
index 921a1d5121d2bed1ca6017fe40a028c0d171266a..012d100e7aae2764d65ea7f20ed1c343e13129d0 100644
(file)
--- 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;