diff options
author | Dylan Baker <[email protected]> | 2019-12-10 16:03:55 -0800 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2020-04-21 11:09:03 -0700 |
commit | 289f02d1d5990e052e21eb250f6d40b47d6eb12f (patch) | |
tree | 9a25e77c00772e0ffe234c2fdcf8de481229e9fc /src/mesa/program/prog_parameter.h | |
parent | c3db0936ef3077b656d55208dd5ae10437ddc2f7 (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/program/prog_parameter.h')
0 files changed, 0 insertions, 0 deletions