diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx index 2ea5e666c..173f9b7da 100644 --- a/Source/CTest/cmCTestTestHandler.cxx +++ b/Source/CTest/cmCTestTestHandler.cxx @@ -92,7 +92,7 @@ bool cmCTestSubdirCommand::InitialPass(std::vector const& args) return false; } cmSystemTools::ChangeDirectory(fname.c_str()); - const char* testFilename = 0; + const char* testFilename; if( cmSystemTools::FileExists("CTestTestfile.cmake") ) { // does the CTestTestfile.cmake exist ? @@ -985,7 +985,7 @@ void cmCTestTestHandler::GetListOfTests() newCom2->m_TestHandler = this; cm.AddCommand(newCom2); - const char* testFilename = 0; + const char* testFilename; if( cmSystemTools::FileExists("CTestTestfile.cmake") ) { // does the CTestTestfile.cmake exist ?