Merge pull request #8383 from Morph1984/shadow-of-the-past

yuzu: Make variable shadowing a compile-time error
This commit is contained in:
Mai
2022-06-14 21:08:58 -04:00
committed by GitHub
38 changed files with 176 additions and 191 deletions

View File

@ -49,9 +49,6 @@ if (NOT MSVC)
target_compile_options(audio_core PRIVATE
-Werror=conversion
-Werror=ignored-qualifiers
-Werror=shadow
-Werror=unused-parameter
-Werror=unused-variable
$<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-parameter>
$<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-variable>