From 2976ae2717a7a4fb1494f4adf92e1972528d24fd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Wed, 26 Feb 2020 19:16:01 -0500 Subject: [PATCH] gallium/u_vbuf: silence a warning by using unreachable Reviewed-by: Eric Anholt Tested-by: Marge Bot Part-of: --- src/gallium/auxiliary/util/u_vbuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/util/u_vbuf.c b/src/gallium/auxiliary/util/u_vbuf.c index 7a6e214b29a..f88c92dd6ac 100644 --- a/src/gallium/auxiliary/util/u_vbuf.c +++ b/src/gallium/auxiliary/util/u_vbuf.c @@ -1152,7 +1152,7 @@ u_vbuf_get_minmax_index_mapped(const struct pipe_draw_info *info, break; } default: - assert(0); + unreachable("bad index size"); } } -- 2.30.2