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
commit 103997ee56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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>