Enable -Wunused-function warning

This commit is contained in:
Nekotekina 2021-02-15 14:34:10 +03:00
parent 4c1026436f
commit 8e6e57de86
14 changed files with 18 additions and 94 deletions

View file

@ -34,7 +34,6 @@ else()
add_compile_options(-Werror=return-type)
#TODO Clean the code so these are removed
add_compile_options(-Wno-unused-function)
add_compile_options(-Wno-attributes)
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")