Browse Source

gallivm: silence uninitialized var warning

undefined
Brian Paul 15 years ago
parent
commit
c91d9cb563
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c

+ 1
- 1
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c View File

@@ -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:

Loading…
Cancel
Save