From 6260d4a14cb931330945a3d4d832aa83f9f60b7b Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 22 Dec 2009 11:40:01 -0800 Subject: 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 file changed, 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 ); -- cgit v1.2.3