projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35915af
)
ac: silence a warning
author
Marek Olšák
<marek.olsak@amd.com>
Thu, 23 Feb 2017 00:34:27 +0000
(
01:34
+0100)
committer
Marek Olšák
<marek.olsak@amd.com>
Fri, 24 Feb 2017 23:16:38 +0000
(
00:16
+0100)
trivial
src/amd/common/ac_llvm_build.c
patch
|
blob
|
history
diff --git
a/src/amd/common/ac_llvm_build.c
b/src/amd/common/ac_llvm_build.c
index 2f25b1400e8732ebe3048e9f877ec9fca73292d5..a70984e3e9b93a67ed1d0695a51bf43940879f88 100644
(file)
--- a/
src/amd/common/ac_llvm_build.c
+++ b/
src/amd/common/ac_llvm_build.c
@@
-119,10
+119,9
@@
ac_build_gather_values_extended(struct ac_llvm_context *ctx,
bool load)
{
LLVMBuilderRef builder = ctx->builder;
- LLVMValueRef vec;
+ LLVMValueRef vec
= NULL
;
unsigned i;
-
if (value_count == 1) {
if (load)
return LLVMBuildLoad(builder, values[0], "");