COMP: see about fixing warning

This commit is contained in:
Ken Martin 2005-06-20 08:59:33 -04:00
parent d7756a8ff7
commit 68cb67c3b1
1 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@ bool cmCTestSubdirCommand::InitialPass(std::vector<std::string> const& args)
return false; return false;
} }
cmSystemTools::ChangeDirectory(fname.c_str()); cmSystemTools::ChangeDirectory(fname.c_str());
const char* testFilename = 0; const char* testFilename;
if( cmSystemTools::FileExists("CTestTestfile.cmake") ) if( cmSystemTools::FileExists("CTestTestfile.cmake") )
{ {
// does the CTestTestfile.cmake exist ? // does the CTestTestfile.cmake exist ?
@ -985,7 +985,7 @@ void cmCTestTestHandler::GetListOfTests()
newCom2->m_TestHandler = this; newCom2->m_TestHandler = this;
cm.AddCommand(newCom2); cm.AddCommand(newCom2);
const char* testFilename = 0; const char* testFilename;
if( cmSystemTools::FileExists("CTestTestfile.cmake") ) if( cmSystemTools::FileExists("CTestTestfile.cmake") )
{ {
// does the CTestTestfile.cmake exist ? // does the CTestTestfile.cmake exist ?