summaryrefslogtreecommitdiffstats
path: root/Source/cmListFileCache.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2016-01-28 21:10:26 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2016-06-08 21:08:14 (GMT)
commitfa169fe8a7f2066eaa40393b4b7979daf42065e4 (patch)
treeab2556be386d04515a8c4d1d33e984a1a27040aa /Source/cmListFileCache.cxx
parentba92e11f8b461513566d5cc3c0b53b2215bb85f7 (diff)
downloadCMake-fa169fe8a7f2066eaa40393b4b7979daf42065e4.zip
CMake-fa169fe8a7f2066eaa40393b4b7979daf42065e4.tar.gz
CMake-fa169fe8a7f2066eaa40393b4b7979daf42065e4.tar.bz2
Parser: Merge identical conditions
Diffstat (limited to 'Source/cmListFileCache.cxx')
-rw-r--r--Source/cmListFileCache.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/Source/cmListFileCache.cxx b/Source/cmListFileCache.cxx
index 33731e0..036a2b1 100644
--- a/Source/cmListFileCache.cxx
+++ b/Source/cmListFileCache.cxx
@@ -181,9 +181,6 @@ bool cmListFile::ParseFile(const char* filename, bool topLevel, cmMakefile* mf)
mf->SetPolicyVersion("2.4");
}
}
- }
-
- if (topLevel) {
bool hasProject = false;
// search for a project command
for (std::vector<cmListFileFunction>::iterator i = this->Functions.begin();