瀏覽代碼

Parser: Merge identical conditions

Stephen Kelly 9 年之前
父節點
當前提交
fa169fe8a7
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      Source/cmListFileCache.cxx

+ 0 - 3
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();