Module: Mesa Branch: master Commit: dc732a8ef29dd2308a435cb7827c00be6d37fb5b URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=dc732a8ef29dd2308a435cb7827c00be6d37fb5b
Author: Grazvydas Ignotas <[email protected]> Date: Sat Apr 16 04:00:16 2016 +0300 gallium: use unreachable instead of asserts Avoids warnings in release builds. Signed-off-by: Grazvydas Ignotas <[email protected]> Reviewed-by: Emil Velikov <[email protected]> --- src/gallium/auxiliary/gallivm/lp_bld_intr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_intr.c b/src/gallium/auxiliary/gallivm/lp_bld_intr.c index e153389..f806503 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_intr.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_intr.c @@ -84,7 +84,7 @@ lp_format_intrinsic(char *name, width = 64; break; default: - assert(0); + unreachable("unexpected LLVMTypeKind"); } if (length) { _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
