diff options
author | Brian Paul <[email protected]> | 2010-05-13 13:24:21 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-05-13 14:15:44 -0600 |
commit | c91d9cb563baf292f04ad3eeb33837806a4fb20d (patch) | |
tree | 78b229a180f5919b17c48320cc6f25c333b50b88 /src | |
parent | 77ee438e612f2c8325bceefd4294ebcac535f16a (diff) |
gallivm: silence uninitialized var warning
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c | 2 |
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: |