From: Marek Olšák Date: Sat, 12 Mar 2011 07:48:43 +0000 (+0100) Subject: llvmpipe: fix warning: ‘t0’ may be used uninitialized in this function X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f1e160f89b5557f5d64455f4d2735a64a7e289bb;p=mesa.git llvmpipe: fix warning: ‘t0’ may be used uninitialized in this function --- diff --git a/src/gallium/drivers/llvmpipe/lp_state_setup.c b/src/gallium/drivers/llvmpipe/lp_state_setup.c index ad751b9ef42..9f1ec146e9d 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_setup.c +++ b/src/gallium/drivers/llvmpipe/lp_state_setup.c @@ -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;