projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d85a6f7
)
mesa: Remove an unnecessary store reported by clang.
author
Eric Anholt
<eric@anholt.net>
Tue, 22 Dec 2009 19:40:01 +0000
(11:40 -0800)
committer
Eric Anholt
<eric@anholt.net>
Tue, 22 Dec 2009 22:20:26 +0000
(14:20 -0800)
This was a workaround for a compiler warning that was showing a real
error. The real error was later fixed.
src/mesa/main/texenvprogram.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texenvprogram.c
b/src/mesa/main/texenvprogram.c
index c69e759a117a837217bc24f8904c1824d6888dc5..499b7330d0a35ffcfe0a67b834a7f843f09c151d 100644
(file)
--- a/
src/mesa/main/texenvprogram.c
+++ b/
src/mesa/main/texenvprogram.c
@@
-1040,8
+1040,6
@@
static struct ureg emit_combine( struct texenv_fragment_program *p,
assert(nr <= MAX_COMBINER_TERMS);
- tmp = undef; /* silence warning (bug 5318) */
-
for (i = 0; i < nr; i++)
src[i] = emit_combine_source( p, mask, unit, opt[i].Source, opt[i].Operand );