Module: Mesa
Branch: master
Commit: 6260d4a14cb931330945a3d4d832aa83f9f60b7b
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6260d4a14cb931330945a3d4d832aa83f9f60b7b

Author: Eric Anholt <[email protected]>
Date:   Tue Dec 22 11:40:01 2009 -0800

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.

---

 src/mesa/main/texenvprogram.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/mesa/main/texenvprogram.c b/src/mesa/main/texenvprogram.c
index c69e759..499b733 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 );
 

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to