diff options
author | Marek Olšák <[email protected]> | 2011-03-12 08:48:43 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2011-03-12 08:48:43 +0100 |
commit | f1e160f89b5557f5d64455f4d2735a64a7e289bb (patch) | |
tree | 79197e39f72fbc5386875f3f42457fc26862c63b /src/gallium/drivers/llvmpipe | |
parent | 4b92c688a45480027390764b06077105298666c3 (diff) |
llvmpipe: fix warning: ‘t0’ may be used uninitialized in this function
Diffstat (limited to 'src/gallium/drivers/llvmpipe')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_state_setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |