diff options
author | Brad King <brad.king@kitware.com> | 2003-02-05 23:05:12 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-02-05 23:05:12 (GMT) |
commit | 9676bb4b22687e1265adc13647c078991d3b4c85 (patch) | |
tree | cb6c0b4c893a205d57fe2fdabfec036187e0c60e | |
parent | ce3edc362fd3b974ac1c29f1603ba071eb753fe2 (diff) | |
download | CMake-9676bb4b22687e1265adc13647c078991d3b4c85.zip CMake-9676bb4b22687e1265adc13647c078991d3b4c85.tar.gz CMake-9676bb4b22687e1265adc13647c078991d3b4c85.tar.bz2 |
BUG: Generate 0 into test driver instead of NULL.
-rw-r--r-- | Source/cmCreateTestSourceList.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCreateTestSourceList.cxx b/Source/cmCreateTestSourceList.cxx index 8de8865..cef2d46 100644 --- a/Source/cmCreateTestSourceList.cxx +++ b/Source/cmCreateTestSourceList.cxx @@ -199,7 +199,7 @@ bool cmCreateTestSourceList::InitialPass(std::vector<std::string> const& args) " new_string = (char *)malloc(sizeof(char) * (size_t)(strlen(string) + 1));\n" " if (!new_string)\n" " {\n" - " return NULL;\n" + " return 0;\n" " }\n" " strcpy(new_string, string);\n" " p = new_string;\n" |