summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmMakefile.cxx4
-rw-r--r--Source/cmMakefile.h2
2 files changed, 2 insertions, 4 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 56fe028..9a1f7ef 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 0c41268..5927be1 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);