mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 19:50:11 +01:00
ac: silence a warning
trivial
This commit is contained in:
parent
35915af6c9
commit
c7878b0167
1 changed files with 1 additions and 2 deletions
|
|
@ -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], "");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue