projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00118c4
)
nv50: Silence uninitialized variable warnings.
author
Vinson Lee
<vlee@vmware.com>
Thu, 16 Sep 2010 01:24:28 +0000
(18:24 -0700)
committer
Vinson Lee
<vlee@vmware.com>
Thu, 16 Sep 2010 01:24:28 +0000
(18:24 -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 012d100e7aae2764d65ea7f20ed1c343e13129d0..d6b80c3ea791eaed7ed334bc9f3ab476e56e5022 100644
(file)
--- a/
src/gallium/drivers/nv50/nv50_tgsi_to_nc.c
+++ b/
src/gallium/drivers/nv50/nv50_tgsi_to_nc.c
@@
-1198,7
+1198,8
@@
static void
bld_lit(struct bld_context *bld, struct nv_value *dst0[4],
const struct tgsi_full_instruction *insn)
{
- struct nv_value *val0, *zero;
+ struct nv_value *val0 = NULL;
+ struct nv_value *zero = NULL;
unsigned mask = insn->Dst[0].Register.WriteMask;
if (mask & ((1 << 0) | (1 << 3)))