Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c9021d7

Browse files
committedNov 8, 2019
directory_entry - fix uninitialized variable warning. NFCI.
1 parent b2a1593 commit c9021d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎llvm/include/llvm/Support/VirtualFileSystem.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ class File {
126126
/// Only information available on most platforms is included.
127127
class directory_entry {
128128
std::string Path;
129-
llvm::sys::fs::file_type Type;
129+
llvm::sys::fs::file_type Type = llvm::sys::fs::file_type::type_unknown;
130130

131131
public:
132132
directory_entry() = default;

0 commit comments

Comments
 (0)
Failed to load comments.