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) bool load)
{ {
LLVMBuilderRef builder = ctx->builder; LLVMBuilderRef builder = ctx->builder;
LLVMValueRef vec; LLVMValueRef vec = NULL;
unsigned i; unsigned i;
if (value_count == 1) { if (value_count == 1) {
if (load) if (load)
return LLVMBuildLoad(builder, values[0], ""); return LLVMBuildLoad(builder, values[0], "");