ac: silence a warning

trivial
This commit is contained in:
Marek Olšák
2017-02-23 01:34:27 +01:00
parent 35915af6c9
commit c7878b0167

View File

@@ -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], "");