summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-04-18 12:50:37 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-04-18 13:31:18 (GMT)
commit6e23a4bdddd2bfee668c682a9ab4081b5e6fcfa2 (patch)
tree2b8d5d551944cfecf61c598cb258b402ee3391ce /Source/cmCTest.cxx
parentd21ebcb2444a4b6001c5997f7004bd5cf917d71b (diff)
downloadCMake-6e23a4bdddd2bfee668c682a9ab4081b5e6fcfa2.zip
CMake-6e23a4bdddd2bfee668c682a9ab4081b5e6fcfa2.tar.gz
CMake-6e23a4bdddd2bfee668c682a9ab4081b5e6fcfa2.tar.bz2
cmMakefile: Remove always-null first parameter to ReadListFile.
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r--Source/cmCTest.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index 91ae889..3697aa4 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -2576,7 +2576,7 @@ int cmCTest::ReadCustomConfigurationFileTree(const char* dir, cmMakefile* mf)
bool erroroc = cmSystemTools::GetErrorOccuredFlag();
cmSystemTools::ResetErrorOccuredFlag();
- if ( !mf->ReadListFile(0, fname.c_str()) ||
+ if ( !mf->ReadListFile(fname.c_str()) ||
cmSystemTools::GetErrorOccuredFlag() )
{
cmCTestLog(this, ERROR_MESSAGE,
@@ -2606,7 +2606,7 @@ int cmCTest::ReadCustomConfigurationFileTree(const char* dir, cmMakefile* mf)
{
cmCTestLog(this, DEBUG, "* Read custom CTest configuration file: "
<< *fileIt << std::endl);
- if ( !mf->ReadListFile(0, fileIt->c_str()) ||
+ if ( !mf->ReadListFile(fileIt->c_str()) ||
cmSystemTools::GetErrorOccuredFlag() )
{
cmCTestLog(this, ERROR_MESSAGE,