Module: Mesa
Branch: master
Commit: c91d9cb563baf292f04ad3eeb33837806a4fb20d
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c91d9cb563baf292f04ad3eeb33837806a4fb20d

Author: Brian Paul <[email protected]>
Date:   Thu May 13 13:24:21 2010 -0600

gallivm: silence uninitialized var warning

---

 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 0062805..8db6501 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:

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to