Skip to content

Remove unreachable return statements after avm_internal_error calls.#5003

Draft
urvangjoshi wants to merge 2 commits into
AOMediaCodec:mainfrom
urvangjoshi:clang_build_fix
Draft

Remove unreachable return statements after avm_internal_error calls.#5003
urvangjoshi wants to merge 2 commits into
AOMediaCodec:mainfrom
urvangjoshi:clang_build_fix

Conversation

@urvangjoshi
Copy link
Copy Markdown
Contributor

@urvangjoshi urvangjoshi commented May 21, 2026

This fixes following type of build errors on LLVM 22.1.6:

error: 'return' will never be executed [-Werror,-Wunreachable-code-return]

As a pre-requisite to this: ensure that setjmp is called in FilmGrainTableIOTest before avm_internal_error is called.

Closes #5002

This fixes following type of build errors on LLVM 22.1.6:

```
error: 'return' will never be executed [-Werror,-Wunreachable-code-return]
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

unreachable-code-return compile errors with LLVM 22.1.6

2 participants