From: Vinson Lee Date: Wed, 20 Nov 2013 07:16:34 +0000 (-0800) Subject: gallivm: Ignore unknown file type in non-debug builds. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7f56780915e352fda80b0e062591995021916859;p=mesa.git gallivm: Ignore unknown file type in non-debug builds. Fixes "Uninitialized pointer read" defect reported by Coverity. Signed-off-by: Vinson Lee Reviewed-by: Jose Fonseca --- diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c index 37f7a569702..6d8dc8c6f19 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c @@ -2410,6 +2410,7 @@ emit_dump_file(struct lp_build_tgsi_soa_context *bld, res = LLVMBuildLoad(builder, reg_ptr, ""); } else { assert(0); + continue; } emit_dump_reg(gallivm, file, index, chan, res);