From 023b8ac9959be26fa8ad4e898fb583bcb179c78e Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Wed, 15 Mar 2017 19:54:25 +0000 Subject: [PATCH] Fix uninitialized value. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@297881 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Driver/ToolChains/MSVC.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Driver/ToolChains/MSVC.h b/lib/Driver/ToolChains/MSVC.h index f11256d8f9..055830c52e 100644 --- a/lib/Driver/ToolChains/MSVC.h +++ b/lib/Driver/ToolChains/MSVC.h @@ -130,7 +130,7 @@ protected: Tool *buildAssembler() const override; private: std::string VCToolChainPath; - bool IsVS2017OrNewer; + bool IsVS2017OrNewer = false; CudaInstallationDetector CudaInstallation; }; -- 2.40.0