From cfe6fe06abfc0517a756b82200ec64f6de4e5e11 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Wed, 22 May 2019 11:20:52 +0000 Subject: [VirtualFileSystem] Fix uninitialized variable warning. NFCI. llvm-svn: 361371 --- llvm/lib/Support/VirtualFileSystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Support') diff --git a/llvm/lib/Support/VirtualFileSystem.cpp b/llvm/lib/Support/VirtualFileSystem.cpp index f5a8a1e8a44..48ce31491a8 100644 --- a/llvm/lib/Support/VirtualFileSystem.cpp +++ b/llvm/lib/Support/VirtualFileSystem.cpp @@ -1279,7 +1279,7 @@ class llvm::vfs::RedirectingFileSystemParser { EntryArrayContents; std::string ExternalContentsPath; std::string Name; - yaml::Node *NameValueNode; + yaml::Node *NameValueNode = nullptr; auto UseExternalName = RedirectingFileSystem::RedirectingFileEntry::NK_NotSet; RedirectingFileSystem::EntryKind Kind; -- cgit v1.2.3