summaryrefslogtreecommitdiff
path: root/src/mesa/main
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-12-22 11:40:01 -0800
committerEric Anholt <eric@anholt.net>2009-12-22 14:20:26 -0800
commit6260d4a14cb931330945a3d4d832aa83f9f60b7b (patch)
tree54fff1cd35e33893e64c45c088ff7b36b5351add /src/mesa/main
parentd85a6f70eba7d59bdee34d33e8b3caaeac328ecb (diff)
mesa: Remove an unnecessary store reported by clang.
This was a workaround for a compiler warning that was showing a real error. The real error was later fixed.
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/texenvprogram.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/main/texenvprogram.c b/src/mesa/main/texenvprogram.c
index c69e759a11..499b7330d0 100644
--- 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 );