COMP: Remove warning

This commit is contained in:
Andy Cedilnik 2006-07-25 11:00:10 -04:00
parent 814c7e12ab
commit c3412def5d
1 changed files with 3 additions and 3 deletions

View File

@ -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