🚨 fix warning

This commit is contained in:
Vladislav Nepogodin 2022-08-09 22:17:08 +04:00
parent 7ba808740b
commit 6c2ef07d7f
No known key found for this signature in database
GPG Key ID: B62C3D10C54D5DA9

View File

@ -53,6 +53,7 @@ function(set_project_warnings project_name)
set(GCC_WARNINGS
${CLANG_WARNINGS}
-Wno-deprecated
-Wmisleading-indentation # warn if indentation implies blocks where blocks do not exist
-Wduplicated-cond # warn if if / else chain has duplicated conditions
-Wduplicated-branches # warn if if / else branches have duplicated code