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:
Grazvydas Ignotas 2016-04-16 04:00:16 +03:00 committed by Ian Romanick
parent d14778656b
commit dc732a8ef2

View file

@ -84,7 +84,7 @@ lp_format_intrinsic(char *name,
width = 64;
break;
default:
assert(0);
unreachable("unexpected LLVMTypeKind");
}
if (length) {