Parser: Merge identical conditions

This commit is contained in:
Stephen Kelly
2016-06-08 23:08:14 +02:00
committed by Daniel Pfeifer
parent ba92e11f8b
commit fa169fe8a7
-3
View File
@@ -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();