projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ef781c
)
nv50: fix uninitialized variable in nv50_revdep_reorder
author
Marcin Slusarz
<marcin.slusarz@gmail.com>
Sun, 24 Jan 2010 18:27:59 +0000
(19:27 +0100)
committer
Ben Skeggs
<bskeggs@redhat.com>
Sun, 24 Jan 2010 23:45:23 +0000
(09:45 +1000)
"unsafe" is never initialized, but used
(found by valgrind)
src/gallium/drivers/nv50/nv50_program.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nv50/nv50_program.c
b/src/gallium/drivers/nv50/nv50_program.c
index cd2fd0a076e42d5efc369a3671b242279da6785c..e74a526c626f71fb834920b691ca57c9dc488c5a 100644
(file)
--- a/
src/gallium/drivers/nv50/nv50_program.c
+++ b/
src/gallium/drivers/nv50/nv50_program.c
@@
-3283,7
+3283,7
@@
prep_inspect_insn(struct nv50_pc *pc, const struct tgsi_full_instruction *insn)
static unsigned
nv50_revdep_reorder(unsigned m[4], unsigned rdep[4])
{
- unsigned i, c, x, unsafe;
+ unsigned i, c, x, unsafe
= 0
;
for (c = 0; c < 4; c++)
m[c] = c;