diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-08-23 08:03:11 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-08-23 08:03:18 (GMT) |
commit | 7526b1ed3285e29565415701756cfe7db1967cd9 (patch) | |
tree | f2db0df723734e09e32ea8ab0a7dc3e796f44430 /Source | |
parent | 5490d0e685f14b6a4c6989113c870c26189c28ee (diff) | |
parent | e4aafbf59639e8ea71e6882db1f113ef57e46e0f (diff) | |
download | CMake-7526b1ed3285e29565415701756cfe7db1967cd9.zip CMake-7526b1ed3285e29565415701756cfe7db1967cd9.tar.gz CMake-7526b1ed3285e29565415701756cfe7db1967cd9.tar.bz2 |
Merge topic 'cm_fallthrough'
e4aafbf5 Fix CM_FALLTHROUGH with -Wunused-parameter
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1170
Diffstat (limited to 'Source')
-rw-r--r-- | Source/Checks/cm_cxx_attribute_fallthrough.cxx | 2 | ||||
-rw-r--r-- | Source/Checks/cm_cxx_fallthrough.cxx | 2 | ||||
-rw-r--r-- | Source/Checks/cm_cxx_gnu_fallthrough.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Source/Checks/cm_cxx_attribute_fallthrough.cxx b/Source/Checks/cm_cxx_attribute_fallthrough.cxx index df43625..50605b7 100644 --- a/Source/Checks/cm_cxx_attribute_fallthrough.cxx +++ b/Source/Checks/cm_cxx_attribute_fallthrough.cxx @@ -1,4 +1,4 @@ -int main(int argc, char* argv[]) +int main(int argc, char* []) { int i = 3; switch (argc) { diff --git a/Source/Checks/cm_cxx_fallthrough.cxx b/Source/Checks/cm_cxx_fallthrough.cxx index 7b35a5f..2825bed 100644 --- a/Source/Checks/cm_cxx_fallthrough.cxx +++ b/Source/Checks/cm_cxx_fallthrough.cxx @@ -1,4 +1,4 @@ -int main(int argc, char* argv[]) +int main(int argc, char* []) { int i = 3; switch (argc) { diff --git a/Source/Checks/cm_cxx_gnu_fallthrough.cxx b/Source/Checks/cm_cxx_gnu_fallthrough.cxx index 6021094..ebc15f4 100644 --- a/Source/Checks/cm_cxx_gnu_fallthrough.cxx +++ b/Source/Checks/cm_cxx_gnu_fallthrough.cxx @@ -1,4 +1,4 @@ -int main(int argc, char* argv[]) +int main(int argc, char* []) { int i = 3; switch (argc) { |