Mesa (master): llvmpipe: remove unneeded declaration ( which caused a warning)

Brian Paul brianp at kemper.freedesktop.org
Fri Apr 16 12:01:56 PDT 2010


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

Author: Brian Paul <brianp at vmware.com>
Date:   Fri Apr 16 13:01:51 2010 -0600

llvmpipe: remove unneeded declaration (which caused a warning)

---

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

diff --git a/src/gallium/drivers/llvmpipe/lp_state_fs.c b/src/gallium/drivers/llvmpipe/lp_state_fs.c
index e28612d..eee4f12 100644
--- a/src/gallium/drivers/llvmpipe/lp_state_fs.c
+++ b/src/gallium/drivers/llvmpipe/lp_state_fs.c
@@ -780,7 +780,6 @@ generate_fragment(struct llvmpipe_context *lp,
       LLVMValueRef index = LLVMConstInt(LLVMInt32Type(), i, 0);
       LLVMValueRef out_color[PIPE_MAX_COLOR_BUFS][NUM_CHANNELS];
       LLVMValueRef depth_ptr_i;
-      int cbuf;
 
       if(i != 0)
          lp_build_interp_soa_update(&interp, i);



More information about the mesa-commit mailing list