diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-05-26 20:08:21 -0400 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-06-13 18:19:23 -0400 |
commit | efc89c032b18d149308a1f8c1a371f503edb91d1 (patch) | |
tree | dafbdc3a20ad07f24ee92c4583e3e84ecf01ab02 /src/input_common/CMakeLists.txt | |
parent | d0328f49f1ebcc061ba2db34bb3ae49605ca97fa (diff) |
CMakeLists: Make variable shadowing a compile-time error
Now that the entire project is free of variable shadowing, we can enforce this as a compile time error to prevent any further introduction of this logic bug.
Diffstat (limited to 'src/input_common/CMakeLists.txt')
-rw-r--r-- | src/input_common/CMakeLists.txt | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/input_common/CMakeLists.txt b/src/input_common/CMakeLists.txt index d4fa69a77..48e799cf5 100644 --- a/src/input_common/CMakeLists.txt +++ b/src/input_common/CMakeLists.txt @@ -44,7 +44,6 @@ else() -Werror -Werror=conversion -Werror=ignored-qualifiers - -Werror=shadow $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-parameter> $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-variable> -Werror=unused-variable |