Mesa (master): gallivm: Remove redundant initialization of dst_vec_type.
Vinson Lee
vlee at kemper.freedesktop.org
Mon Apr 19 07:36:42 UTC 2010
Module: Mesa
Branch: master
Commit: 7f8676c0b03c91bc974900eb783de06833a87f8d
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7f8676c0b03c91bc974900eb783de06833a87f8d
Author: Vinson Lee <vlee at vmware.com>
Date: Mon Apr 19 00:35:02 2010 -0700
gallivm: Remove redundant initialization of dst_vec_type.
dec_vec_type is already initialized to lp_build_vec_type(dst_type) at
its declaration.
---
src/gallium/auxiliary/gallivm/lp_bld_pack.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_pack.c b/src/gallium/auxiliary/gallivm/lp_bld_pack.c
index 2daa8a3..186f884 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_pack.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_pack.c
@@ -263,8 +263,6 @@ lp_build_pack2(LLVMBuilderRef builder,
LLVMValueRef shuffle;
LLVMValueRef res;
- dst_vec_type = lp_build_vec_type(dst_type);
-
assert(!src_type.floating);
assert(!dst_type.floating);
assert(src_type.width == dst_type.width * 2);
More information about the mesa-commit
mailing list