BUG: remove warning in test of compiler so -Werror does not fail

This commit is contained in:
Bill Hoffman 2009-06-22 10:02:51 -04:00
parent d05a2baf6c
commit 34744b6bc0
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ IF(NOT CMAKE_C_COMPILER_WORKS)
"#else\n"
"int main(int argc, char* argv[])\n"
"#endif\n"
"{ return argc-1;}\n")
"{ (void)argv; return argc-1;}\n")
TRY_COMPILE(CMAKE_C_COMPILER_WORKS ${CMAKE_BINARY_DIR}
${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/testCCompiler.c
OUTPUT_VARIABLE OUTPUT)