llvmpipe: fix warning: ‘t0’ may be used uninitialized in this function

This commit is contained in:
Marek Olšák 2011-03-12 08:48:43 +01:00
parent 4b92c688a4
commit f1e160f89b

View file

@ -651,7 +651,7 @@ generate_setup_variant(struct gallivm_state *gallivm,
LLVMTypeRef arg_types[7];
LLVMBasicBlockRef block;
LLVMBuilderRef builder = gallivm->builder;
int64_t t0, t1;
int64_t t0 = 0, t1;
if (0)
goto fail;