1
0
Эх сурвалжийг харах

Parser: Merge identical conditions

Stephen Kelly 9 жил өмнө
parent
commit
fa169fe8a7

+ 0 - 3
Source/cmListFileCache.cxx

@@ -181,9 +181,6 @@ bool cmListFile::ParseFile(const char* filename, bool topLevel, cmMakefile* mf)
         mf->SetPolicyVersion("2.4");
         mf->SetPolicyVersion("2.4");
       }
       }
     }
     }
-  }
-
-  if (topLevel) {
     bool hasProject = false;
     bool hasProject = false;
     // search for a project command
     // search for a project command
     for (std::vector<cmListFileFunction>::iterator i = this->Functions.begin();
     for (std::vector<cmListFileFunction>::iterator i = this->Functions.begin();