summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-05-13 13:34:24 -0600
committerBrian Paul <[email protected]>2010-05-13 14:15:44 -0600
commit415c40735dfd110bf902ce43968c8d7bd23ff111 (patch)
treefc641653f1488c9baa39cf684b33effbc4154a6b /src/gallium/auxiliary
parentd9096926f84b33e122e3b2942ff66dc183894b50 (diff)
gallivm: silence uninitialized var warning
Diffstat (limited to 'src/gallium/auxiliary')
-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 8db6501c80e..aaf3360aa24 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: