瀏覽代碼

cmGlobalGenerator: Fix use of uninitialized value in --find-package mode

Brad King 9 年之前
父節點
當前提交
d9c600c504
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Source/cmGlobalGenerator.cxx

+ 1 - 0
Source/cmGlobalGenerator.cxx

@@ -94,6 +94,7 @@ cmGlobalGenerator::cmGlobalGenerator(cmake* cm)
   this->TryCompileOuterMakefile = CM_NULLPTR;
 
   this->ConfigureDoneCMP0026AndCMP0024 = false;
+  this->FirstTimeProgress = 0.0f;
 
   cm->GetState()->SetMinGWMake(false);
   cm->GetState()->SetMSYSShell(false);