mirror of
https://github.com/CachyOS/New-Cli-Installer.git
synced 2025-01-23 14:32:22 +08:00
🚨 fix warning
This commit is contained in:
parent
7ba808740b
commit
6c2ef07d7f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user