Skip to content
Snippets Groups Projects
Commit c3412def authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

COMP: Remove warning

parent 814c7e12
No related branches found
No related tags found
No related merge requests found
......@@ -537,10 +537,10 @@ fi
TMPFILE=`cmake_tmp_file`
cat > "${TMPFILE}.c" <<EOF
#include<stdio.h>
int main()
int main(int argc, char* argv[])
{
printf("1\n");
return 0;
printf("%d\n", (argv != 0));
return argc-1;
}
EOF
for a in ${cmake_c_compilers}; do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment