llvmpipe: Remove unused variable.
authorVinson Lee <vlee@vmware.com>
Fri, 23 Apr 2010 07:59:12 +0000 (00:59 -0700)
committerVinson Lee <vlee@vmware.com>
Fri, 23 Apr 2010 07:59:12 +0000 (00:59 -0700)
src/gallium/drivers/llvmpipe/lp_test_blend.c

index 818f7a9a5624e585f7ddb2fbd0f20b0548504685..fae7bf3fcf2ef6a5f1cc35dc7255c0ba818b96a5 100644 (file)
@@ -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);