[VirtualFileSystem] Fix uninitialized variable warning. NFCI.

llvm-svn: 361371
This commit is contained in:
Simon Pilgrim 2019-05-22 11:20:52 +00:00
parent aa4f1ffca4
commit cfe6fe06ab

View File

@ -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;