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 | e647661b76ec0585e1a268bebf23eede77d223a7 (patch) | |
| tree | dafbdc3a20ad07f24ee92c4583e3e84ecf01ab02 /src/input_common/CMakeLists.txt | |
| parent | ebf9030aa01c5486ada73300777acae284472f7e (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 d4fa69a775..48e799cf58 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 |
