summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-06-21 17:33:54 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-06-21 18:10:46 (GMT)
commitfe38bb2c29ab4273cfefb1b343b80388bea2893e (patch)
treea5c9068d816d2bf7eacd637ce993bf7079d50c61
parentac10fc0958c94e17d89a686d1addae0ac18dc648 (diff)
downloadCMake-fe38bb2c29ab4273cfefb1b343b80388bea2893e.zip
CMake-fe38bb2c29ab4273cfefb1b343b80388bea2893e.tar.gz
CMake-fe38bb2c29ab4273cfefb1b343b80388bea2893e.tar.bz2
cmMakefile: Change return type of ReadListFileInternal.
-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);