From: Brian Paul Date: Thu, 13 May 2010 19:21:37 +0000 (-0600) Subject: llvmpipe: silence uninitialized var warnings X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=77ee438e612f2c8325bceefd4294ebcac535f16a;p=mesa.git llvmpipe: silence uninitialized var warnings --- diff --git a/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c b/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c index f9dea306ab2..bc7213db8b3 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c @@ -918,7 +918,8 @@ lp_build_lod_selector(struct lp_build_sample_context *bld, } else { const int dims = texture_dims(bld->static_state->target); - LLVMValueRef dsdx, dsdy, dtdx, dtdy, drdx, drdy; + LLVMValueRef dsdx, dsdy; + LLVMValueRef dtdx = NULL, dtdy = NULL, drdx = NULL, drdy = NULL; LLVMValueRef rho; /*