diff options
author | Gregor Jasny <gjasny@googlemail.com> | 2020-08-08 12:32:48 (GMT) |
---|---|---|
committer | Gregor Jasny <gjasny@googlemail.com> | 2020-08-08 12:32:48 (GMT) |
commit | 79098d23eb2ac54ad8c47e27cdb614d73a64282c (patch) | |
tree | 46a0afa8a732a49436f685486e4085ee2d404a72 /Tests/RunCMake | |
parent | ac4e9e10db372ca3d243c5c31f0a5a16fe25d2e3 (diff) | |
download | CMake-79098d23eb2ac54ad8c47e27cdb614d73a64282c.zip CMake-79098d23eb2ac54ad8c47e27cdb614d73a64282c.tar.gz CMake-79098d23eb2ac54ad8c47e27cdb614d73a64282c.tar.bz2 |
Tests: Avoid warnings about unused arguments
Diffstat (limited to 'Tests/RunCMake')
-rw-r--r-- | Tests/RunCMake/XcodeProject/main.cpp | 2 | ||||
-rw-r--r-- | Tests/RunCMake/XcodeProject/main.m | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Tests/RunCMake/XcodeProject/main.cpp b/Tests/RunCMake/XcodeProject/main.cpp index c94753f..f8b643a 100644 --- a/Tests/RunCMake/XcodeProject/main.cpp +++ b/Tests/RunCMake/XcodeProject/main.cpp @@ -1,4 +1,4 @@ -int main(int argc, const char* argv[]) +int main() { return 0; } diff --git a/Tests/RunCMake/XcodeProject/main.m b/Tests/RunCMake/XcodeProject/main.m index 6dc190a..3e70e50 100644 --- a/Tests/RunCMake/XcodeProject/main.m +++ b/Tests/RunCMake/XcodeProject/main.m @@ -1,3 +1,3 @@ -int main(int argc, const char * argv[]) { +int main(void) { return 1; } |