diff options
author | Eric Anholt <eric@anholt.net> | 2009-12-22 11:40:01 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-12-22 14:20:26 -0800 |
commit | 6260d4a14cb931330945a3d4d832aa83f9f60b7b (patch) | |
tree | 54fff1cd35e33893e64c45c088ff7b36b5351add /src | |
parent | d85a6f70eba7d59bdee34d33e8b3caaeac328ecb (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')
-rw-r--r-- | 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 c69e759a117..499b7330d0a 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 ); |