diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 56fe02835..9a1f7ef4b 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -601,7 +601,7 @@ bool cmMakefile::ReadListFile(const char* listfile, return res; } -bool cmMakefile::ReadListFileInternal(cmListFile const& cacheFile, +void cmMakefile::ReadListFileInternal(cmListFile const& cacheFile, const char* filenametoread, bool noPolicyScope) { @@ -633,8 +633,6 @@ bool cmMakefile::ReadListFileInternal(cmListFile const& cacheFile, } } } - - return true; } //---------------------------------------------------------------------------- diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index 0c41268bb..5927be1e7 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -918,7 +918,7 @@ private: bool noPolicyScope, bool requireProjectCommand); - bool ReadListFileInternal(cmListFile const& cacheFile, + void ReadListFileInternal(cmListFile const& cacheFile, const char* filenametoread, bool noPolicyScope);