Skip to content

osdep/compiler: make MP_ASSERT_UNREACHABLE no return - #18197

Merged
kasper93 merged 2 commits into
mpv-player:masterfrom
kasper93:ci-fix
Jun 27, 2026
Merged

osdep/compiler: make MP_ASSERT_UNREACHABLE no return#18197
kasper93 merged 2 commits into
mpv-player:masterfrom
kasper93:ci-fix

Conversation

@kasper93

Copy link
Copy Markdown
Member

On some platforms assert is continuable, we don't want that, so abort() just after.

kasper93 added 2 commits June 27, 2026 19:26
On some platforms assert is continuable, we don't want that, so abort()
just after.
Mostly to make GCC happy and fix array-bounds warning.
@kasper93
kasper93 merged commit 80865a7 into mpv-player:master Jun 27, 2026
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant