summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/arrayobj.c
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2019-12-10 16:03:55 -0800
committerDylan Baker <[email protected]>2020-04-21 11:09:03 -0700
commit289f02d1d5990e052e21eb250f6d40b47d6eb12f (patch)
tree9a25e77c00772e0ffe234c2fdcf8de481229e9fc /src/mesa/main/arrayobj.c
parentc3db0936ef3077b656d55208dd5ae10437ddc2f7 (diff)
dri/nouveau: replace assert with unreachable
I don't know why removing imports.h suddenly makes clang realize that this function can not return in a non-debug build, but it does. Unreachable is better because it doesn't have this problem. Reviewed-by: Marek Olšák <[email protected]> Reviewed-by: Kristian H. Kristensen <[email protected]> Reviewed-by: Matt Turner <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3024>
Diffstat (limited to 'src/mesa/main/arrayobj.c')
0 files changed, 0 insertions, 0 deletions