nv50: fix uninitialized variable in nv50_revdep_reorder

"unsafe" is never initialized, but used
(found by valgrind)
This commit is contained in:
Marcin Slusarz
2010-01-24 19:27:59 +01:00
committed by Ben Skeggs
parent 0ef781c1ae
commit 9e1550dbaf
+1 -1
View File
@@ -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;