gallivm: silence uninitialized var warning
authorBrian Paul <brianp@vmware.com>
Thu, 13 May 2010 19:34:24 +0000 (13:34 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 13 May 2010 20:15:44 +0000 (14:15 -0600)
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c

index 8db6501c80ee31d79439ae667733d27f60086bcb..aaf3360aa245b4b974496e986420036388f9f215 100644 (file)
@@ -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: