Signed-off-by: Giuseppe Bilotta <[email protected]>
---
src/mesa/main/get.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c
index cf3ee6385e..3293c00f96 100644
--- a/src/mesa/main/get.c
+++ b/src/mesa/main/get.c
@@ -1405,8 +1405,7 @@ find_value(const char *func, GLenum pname, void **p,
union value *v)
*p = v;
return d;
default:
- assert(0);
- break;
+ unreachable("invalid find_value location");
}
/* silence warning */
--
2.13.0.rc0.207.gb442654931
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev