diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-07-25 15:00:10 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-07-25 15:00:10 (GMT) |
commit | c3412def5d4456291eb2afad0404d984e2d32fa5 (patch) | |
tree | e70633b381ada662494415965baefe3b563c0d42 /bootstrap | |
parent | 814c7e12ab19a5910a4071b15442e9738f3ffc22 (diff) | |
download | CMake-c3412def5d4456291eb2afad0404d984e2d32fa5.zip CMake-c3412def5d4456291eb2afad0404d984e2d32fa5.tar.gz CMake-c3412def5d4456291eb2afad0404d984e2d32fa5.tar.bz2 |
COMP: Remove warning
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |