directory_entry - fix uninitialized variable warning. NFCI.

This commit is contained in:
Simon Pilgrim 2019-11-08 14:25:56 +00:00
parent ec6f00b6b8
commit 7c4aa88ca2

View File

@ -126,7 +126,7 @@ public:
/// Only information available on most platforms is included.
class directory_entry {
std::string Path;
llvm::sys::fs::file_type Type;
llvm::sys::fs::file_type Type = llvm::sys::fs::file_type::type_unknown;
public:
directory_entry() = default;