mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-06 04:03:27 +03: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:
1 parent
2d41ec5036
commit
e4aafbf596
3 files changed
+3
-3
No files matched your search
@@ -1,4 +1,4 @@
|
||||
int main(int argc, char* argv[])
|
||||
int main(int argc, char* [])
|
||||
{
|
||||
int i = 3;
|
||||
switch (argc) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
int main(int argc, char* argv[])
|
||||
int main(int argc, char* [])
|
||||
{
|
||||
int i = 3;
|
||||
switch (argc) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
int main(int argc, char* argv[])
|
||||
int main(int argc, char* [])
|
||||
{
|
||||
int i = 3;
|
||||
switch (argc) {
|
||||
|
||||
Reference in new issue
Block a user