diff options
author | Roland Scheidegger <[email protected]> | 2017-03-16 03:59:52 +0100 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2017-03-16 04:03:29 +0100 |
commit | 9d104dfd55afa4477fcc4037b992a8c99ac97431 (patch) | |
tree | 745026316533a252dbf7e680ca75cc1fb192fab3 | |
parent | e893b3a3672287f266a355e5b78ad7115e880292 (diff) |
draw: (trivial) remove a unnecessary lp_build_alloca()
pointed out by clang (stored value never read)
-rw-r--r-- | src/gallium/auxiliary/draw/draw_llvm.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/draw/draw_llvm.c b/src/gallium/auxiliary/draw/draw_llvm.c index 104965bfeb8..bb08f665064 100644 --- a/src/gallium/auxiliary/draw/draw_llvm.c +++ b/src/gallium/auxiliary/draw/draw_llvm.c @@ -1670,8 +1670,6 @@ draw_llvm_generate(struct draw_llvm *llvm, struct draw_llvm_variant *variant) ind_vec = LLVMBuildInsertElement(builder, ind_vec, index, index, ""); } - fetch_max = lp_build_alloca(gallivm, int32_type, "fetch_max"); - have_elts = LLVMBuildICmp(builder, LLVMIntNE, LLVMConstPointerNull(arg_types[10]), fetch_elts, ""); |