From: Zachary Turner Date: Wed, 15 Mar 2017 19:54:25 +0000 (+0000) Subject: Fix uninitialized value. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=023b8ac9959be26fa8ad4e898fb583bcb179c78e;p=clang Fix uninitialized value. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@297881 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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; };