mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-18 08:51:52 +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:
@@ -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