mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-03 04:10:05 -06: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