Mesa (master): llvmpipe: Remove dead initialization.

Vinson Lee vlee at kemper.freedesktop.org
Sun Jul 18 08:15:10 UTC 2010


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Sun Jul 18 01:14:36 2010 -0700

llvmpipe: Remove dead initialization.

---

 src/gallium/drivers/llvmpipe/lp_bld_interp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/llvmpipe/lp_bld_interp.c b/src/gallium/drivers/llvmpipe/lp_bld_interp.c
index 90d2b26..78744da 100644
--- a/src/gallium/drivers/llvmpipe/lp_bld_interp.c
+++ b/src/gallium/drivers/llvmpipe/lp_bld_interp.c
@@ -261,7 +261,7 @@ attribs_update(struct lp_build_interp_soa_context *bld, int quad_index)
       const unsigned interp = bld->interp[attrib];
       for(chan = 0; chan < NUM_CHANNELS; ++chan) {
          if(mask & (1 << chan)) {
-            LLVMValueRef a = coeff_bld->undef;
+            LLVMValueRef a;
             if (interp == LP_INTERP_CONSTANT ||
                 interp == LP_INTERP_FACING) {
                a = bld->a[attrib][chan];




More information about the mesa-commit mailing list