mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-19 02:17:27 +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;
|
int i = 3;
|
||||||
switch (argc) {
|
switch (argc) {
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
int main(int argc, char* argv[])
|
int main(int argc, char* [])
|
||||||
{
|
{
|
||||||
int i = 3;
|
int i = 3;
|
||||||
switch (argc) {
|
switch (argc) {
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
int main(int argc, char* argv[])
|
int main(int argc, char* [])
|
||||||
{
|
{
|
||||||
int i = 3;
|
int i = 3;
|
||||||
switch (argc) {
|
switch (argc) {
|
||||||
|
Reference in New Issue
Block a user