1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-18 17:31:57 +08:00

Fix CM_FALLTHROUGH with -Wunused-parameter

Fix the test code that we `try_compile` to avoid unused parameter
warnings that cause the check to fail.
This commit is contained in:
Brad King
2017-08-22 08:13:30 -04:00
parent 2d41ec5036
commit e4aafbf596
3 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
int main(int argc, char* argv[])
int main(int argc, char* [])
{
int i = 3;
switch (argc) {

View File

@@ -1,4 +1,4 @@
int main(int argc, char* argv[])
int main(int argc, char* [])
{
int i = 3;
switch (argc) {

View File

@@ -1,4 +1,4 @@
int main(int argc, char* argv[])
int main(int argc, char* [])
{
int i = 3;
switch (argc) {