diff options
author | Vinson Lee <vlee@freedesktop.org> | 2013-11-19 23:16:34 -0800 |
---|---|---|
committer | Vinson Lee <vlee@freedesktop.org> | 2013-11-20 22:35:36 -0800 |
commit | 7f56780915e352fda80b0e062591995021916859 (patch) | |
tree | 1ba5cc17c8a8962675b873f9931e0808dac9330d /src/gallium/auxiliary | |
parent | b01a3a9b72ed8d4899b4552658da7233c451142a (diff) | |
download | external_mesa3d-7f56780915e352fda80b0e062591995021916859.zip external_mesa3d-7f56780915e352fda80b0e062591995021916859.tar.gz external_mesa3d-7f56780915e352fda80b0e062591995021916859.tar.bz2 |
gallivm: Ignore unknown file type in non-debug builds.
Fixes "Uninitialized pointer read" defect reported by Coverity.
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c index 37f7a56..6d8dc8c 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); |