projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b92c68
)
llvmpipe: fix warning: ‘t0’ may be used uninitialized in this function
author
Marek Olšák
<maraeo@gmail.com>
Sat, 12 Mar 2011 07:48:43 +0000
(08:48 +0100)
committer
Marek Olšák
<maraeo@gmail.com>
Sat, 12 Mar 2011 07:48:43 +0000
(08:48 +0100)
src/gallium/drivers/llvmpipe/lp_state_setup.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_state_setup.c
b/src/gallium/drivers/llvmpipe/lp_state_setup.c
index ad751b9ef42f1e78f13dc54593dee3f05cffaff3..9f1ec146e9d7468cde0f8d146bc3bbb48b28f62f 100644
(file)
--- 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;