Skip to content
Snippets Groups Projects
Commit 71264ce9 authored by ReinUsesLisp's avatar ReinUsesLisp
Browse files

video_core: Enforce -Wunused-function

Stops us from merging code with unused functions in the future.

If something is invoked behind conditionally evaluated code in
a way that the language can't see it (e.g. preprocessor macros), the
potentially unused function should use [[maybe_unused]].
parent 3e03391a
No related branches found
No related tags found
No related merge requests found
......@@ -314,6 +314,7 @@ else()
-Werror=shadow
-Werror=switch
-Werror=type-limits
-Werror=unused-function
-Werror=unused-variable
$<$<CXX_COMPILER_ID:GNU>:-Werror=class-memaccess>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment