Parser: Merge identical conditions
This commit is contained in:
parent
ba92e11f8b
commit
fa169fe8a7
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue