diff options
author | Grazvydas Ignotas <[email protected]> | 2016-04-16 04:00:16 +0300 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2016-04-25 12:23:34 +0200 |
commit | dc732a8ef29dd2308a435cb7827c00be6d37fb5b (patch) | |
tree | e616d3be169e664f1aaac980dc94f69c9fd7273f /src/gallium | |
parent | d14778656bf818bfb58b8a0ed2c2037b80d91ccb (diff) |
gallium: use unreachable instead of asserts
Avoids warnings in release builds.
Signed-off-by: Grazvydas Ignotas <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_intr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_intr.c b/src/gallium/auxiliary/gallivm/lp_bld_intr.c index e153389e6a9..f806503038d 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) { |