cmake: Enforce -Wunused-function code-base wide

This commit is contained in:
ReinUsesLisp 2021-01-15 03:09:30 -03:00
parent 71264ce9a7
commit 06e0506cb3
2 changed files with 1 additions and 1 deletions

View File

@ -69,6 +69,7 @@ else()
-Werror=reorder
-Werror=switch
-Werror=uninitialized
-Werror=unused-function
-Werror=unused-result
-Werror=unused-variable
-Wextra

View File

@ -314,7 +314,6 @@ else()
-Werror=shadow
-Werror=switch
-Werror=type-limits
-Werror=unused-function
-Werror=unused-variable
$<$<CXX_COMPILER_ID:GNU>:-Werror=class-memaccess>