gallium: use unreachable instead of asserts
Avoids warnings in release builds. Signed-off-by: Grazvydas Ignotas <notasas@gmail.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
parent
d14778656b
commit
dc732a8ef2
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ lp_format_intrinsic(char *name,
|
|||
width = 64;
|
||||
break;
|
||||
default:
|
||||
assert(0);
|
||||
unreachable("unexpected LLVMTypeKind");
|
||||
}
|
||||
|
||||
if (length) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue