Mesa (master): llvmpipe: Remove unused variable.

Vinson Lee vlee at kemper.freedesktop.org
Fri Apr 23 08:00:38 UTC 2010


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Fri Apr 23 00:59:12 2010 -0700

llvmpipe: Remove unused variable.

---

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

diff --git a/src/gallium/drivers/llvmpipe/lp_test_blend.c b/src/gallium/drivers/llvmpipe/lp_test_blend.c
index 818f7a9..fae7bf3 100644
--- a/src/gallium/drivers/llvmpipe/lp_test_blend.c
+++ b/src/gallium/drivers/llvmpipe/lp_test_blend.c
@@ -154,7 +154,6 @@ add_blend_test(LLVMModuleRef module,
                enum vector_mode mode,
                struct lp_type type)
 {
-   LLVMTypeRef ret_type;
    LLVMTypeRef vec_type;
    LLVMTypeRef args[4];
    LLVMValueRef func;
@@ -165,7 +164,6 @@ add_blend_test(LLVMModuleRef module,
    LLVMBasicBlockRef block;
    LLVMBuilderRef builder;
 
-   ret_type = LLVMInt64Type();
    vec_type = lp_build_vec_type(type);
 
    args[3] = args[2] = args[1] = args[0] = LLVMPointerType(vec_type, 0);




More information about the mesa-commit mailing list