summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/gallivm
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-05-13 13:24:21 -0600
committerBrian Paul <[email protected]>2010-05-13 14:15:44 -0600
commitc91d9cb563baf292f04ad3eeb33837806a4fb20d (patch)
tree78b229a180f5919b17c48320cc6f25c333b50b88 /src/gallium/auxiliary/gallivm
parent77ee438e612f2c8325bceefd4294ebcac535f16a (diff)
gallivm: silence uninitialized var warning
Diffstat (limited to 'src/gallium/auxiliary/gallivm')
-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 00628054728..8db6501c80e 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
@@ -420,7 +420,7 @@ emit_fetch(
const struct tgsi_full_src_register *reg = &inst->Src[index];
unsigned swizzle = tgsi_util_get_full_src_register_swizzle( reg, chan_index );
LLVMValueRef res;
- LLVMValueRef addr;
+ LLVMValueRef addr = NULL;
switch (swizzle) {
case TGSI_SWIZZLE_X: