summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_bld_swizzle.c
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-08-16 21:07:15 +0100
committerJosé Fonseca <jfonseca@vmware.com>2009-08-29 09:21:33 +0100
commit4d7a8194c5763f70ba559f32f58dfda36237b666 (patch)
treeb06d2903bc55c20dc0ee7537d10b33961cb61e2a /src/gallium/drivers/llvmpipe/lp_bld_swizzle.c
parent7821664b15501b173b2304bbada758c33c5ff972 (diff)
downloadexternal_mesa3d-4d7a8194c5763f70ba559f32f58dfda36237b666.zip
external_mesa3d-4d7a8194c5763f70ba559f32f58dfda36237b666.tar.gz
external_mesa3d-4d7a8194c5763f70ba559f32f58dfda36237b666.tar.bz2
llvmpipe: Silence compiler warnings.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_bld_swizzle.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_bld_swizzle.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_bld_swizzle.c b/src/gallium/drivers/llvmpipe/lp_bld_swizzle.c
index 627890a..7fd25e9 100644
--- a/src/gallium/drivers/llvmpipe/lp_bld_swizzle.c
+++ b/src/gallium/drivers/llvmpipe/lp_bld_swizzle.c
@@ -137,8 +137,6 @@ lp_build_select(struct lp_build_context *bld,
LLVMValueRef a,
LLVMValueRef b)
{
- const union lp_type type = bld->type;
-
if(a == b)
return a;