summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-06-20 12:59:33 (GMT)
committerKen Martin <ken.martin@kitware.com>2005-06-20 12:59:33 (GMT)
commit68cb67c3b1bd7ed7221652dc77a1e72214ae74cc (patch)
tree6909181e0cfe3ad4b8e6d18d0b404d0d990d3479
parentd7756a8ff79bfae91e2b8ebf865268eb4386145f (diff)
downloadCMake-68cb67c3b1bd7ed7221652dc77a1e72214ae74cc.zip
CMake-68cb67c3b1bd7ed7221652dc77a1e72214ae74cc.tar.gz
CMake-68cb67c3b1bd7ed7221652dc77a1e72214ae74cc.tar.bz2
COMP: see about fixing warning
-rw-r--r--Source/CTest/cmCTestTestHandler.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx
index 2ea5e66..173f9b7 100644
--- a/Source/CTest/cmCTestTestHandler.cxx
+++ b/Source/CTest/cmCTestTestHandler.cxx
@@ -92,7 +92,7 @@ bool cmCTestSubdirCommand::InitialPass(std::vector<std::string> 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 ?