diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-04-18 12:50:37 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-04-18 13:31:18 (GMT) |
commit | 6e23a4bdddd2bfee668c682a9ab4081b5e6fcfa2 (patch) | |
tree | 2b8d5d551944cfecf61c598cb258b402ee3391ce /Source/cmLocalUnixMakefileGenerator3.cxx | |
parent | d21ebcb2444a4b6001c5997f7004bd5cf917d71b (diff) | |
download | CMake-6e23a4bdddd2bfee668c682a9ab4081b5e6fcfa2.zip CMake-6e23a4bdddd2bfee668c682a9ab4081b5e6fcfa2.tar.gz CMake-6e23a4bdddd2bfee668c682a9ab4081b5e6fcfa2.tar.bz2 |
cmMakefile: Remove always-null first parameter to ReadListFile.
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator3.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx index 8938e67..153ed09 100644 --- a/Source/cmLocalUnixMakefileGenerator3.cxx +++ b/Source/cmLocalUnixMakefileGenerator3.cxx @@ -1475,7 +1475,7 @@ bool cmLocalUnixMakefileGenerator3::UpdateDependencies(const char* tgtInfo, bool color) { // read in the target info file - if(!this->Makefile->ReadListFile(0, tgtInfo) || + if(!this->Makefile->ReadListFile(tgtInfo) || cmSystemTools::GetErrorOccuredFlag()) { cmSystemTools::Error("Target DependInfo.cmake file not found"); @@ -1592,7 +1592,7 @@ cmLocalUnixMakefileGenerator3 std::string dirInfoFile = this->Makefile->GetStartOutputDirectory(); dirInfoFile += cmake::GetCMakeFilesDirectory(); dirInfoFile += "/CMakeDirectoryInformation.cmake"; - if(mf->ReadListFile(0, dirInfoFile.c_str()) && + if(mf->ReadListFile(dirInfoFile.c_str()) && !cmSystemTools::GetErrorOccuredFlag()) { haveDirectoryInfo = true; |