mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[cmake] drop -Wno-used-but-marked-unused
__attribute__((unused)) does emit that warning if a variable is used. The C23/C++17 version [[maybe_unused]] does not, so drop the warning to have consistency
This commit is contained in:
@@ -21,6 +21,7 @@ if(ENABLE_WARNING_VERBOSE)
|
||||
-Wno-reserved-identifier
|
||||
-Wno-covered-switch-default
|
||||
-Wno-disabled-macro-expansion
|
||||
-Wno-used-but-marked-unused
|
||||
)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user