mirror of
https://github.com/reactos/CMake.git
synced 2025-02-26 23:15:28 +00:00

Fix the test code that we `try_compile` to avoid unused parameter warnings that cause the check to fail.
12 lines
145 B
C++
12 lines
145 B
C++
int main(int argc, char* [])
|
|
{
|
|
int i = 3;
|
|
switch (argc) {
|
|
case 1:
|
|
i = 0;
|
|
[[fallthrough]];
|
|
default:
|
|
return i;
|
|
}
|
|
}
|