Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

video_core: Enforce -Wunused-function

ReinUsesLisp4d9ee82fca48
diff --git a/src/video_core/CMakeLists.txt b/src/video_core/CMakeLists.txt
index f7b9d7f86c..7f3db993c9 100644
--- a/src/video_core/CMakeLists.txt
+++ b/src/video_core/CMakeLists.txt
@@ -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>