summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-05-13 13:34:24 -0600
committerBrian Paul <brianp@vmware.com>2010-05-13 14:15:44 -0600
commit415c40735dfd110bf902ce43968c8d7bd23ff111 (patch)
treefc641653f1488c9baa39cf684b33effbc4154a6b
parentd9096926f84b33e122e3b2942ff66dc183894b50 (diff)
gallivm: silence uninitialized var warning
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
index 8db6501c80..aaf3360aa2 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
@@ -625,7 +625,7 @@ emit_store(
LLVMValueRef value)
{
const struct tgsi_full_dst_register *reg = &inst->Dst[index];
- LLVMValueRef addr;
+ LLVMValueRef addr = NULL;
switch( inst->Instruction.Saturate ) {
case TGSI_SAT_NONE: