From f5bca247eec147b5cd76f14dffb6b32ab469ae98 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 15 Mar 2022 11:23:32 -0400 Subject: cmMakefile: Add missing initializer for recently added member In commit 2f1ffa003c (find_package: Add support for default GLOBAL imported targets, 2022-03-10) we added a field without an initializer. This was exposed by a few failures in nightly testing. Previously it worked only by chance that the member's memory had suitable values. --- Source/cmMakefile.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index 99cc89f..6d44e79 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -1162,5 +1162,5 @@ private: std::set WarnedCMP0074; bool IsSourceFileTryCompile; mutable bool SuppressSideEffects; - ImportedTargetScope CurrentImportedTargetScope; + ImportedTargetScope CurrentImportedTargetScope = ImportedTargetScope::Local; }; -- cgit v0.12