summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rwxr-xr-xutil/cmake/configurejson2cmake.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/util/cmake/configurejson2cmake.py b/util/cmake/configurejson2cmake.py
index 160557e18d..13ccfa85f6 100755
--- a/util/cmake/configurejson2cmake.py
+++ b/util/cmake/configurejson2cmake.py
@@ -655,9 +655,8 @@ def write_compile_test(
sourceCode += tail + "\n"
- sourceCode += "int main(int argc, char **argv)\n"
+ sourceCode += "int main(void)\n"
sourceCode += "{\n"
- sourceCode += " (void)argc; (void)argv;\n"
sourceCode += " /* BEGIN TEST: */\n"
def resolve_main(detail):