Skip to content

Commit c8f0bb4

Browse files
committed
YAMLTraits.h - fix uninitialized variable warning. NFCI.
1 parent d6e0e6d commit c8f0bb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/include/llvm/Support/YAMLTraits.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1531,7 +1531,7 @@ class Input : public IO {
15311531
document_iterator DocIterator;
15321532
std::vector<bool> BitValuesUsed;
15331533
HNode *CurrentNode = nullptr;
1534-
bool ScalarMatchFound;
1534+
bool ScalarMatchFound = false;
15351535
};
15361536

15371537
///

0 commit comments

Comments
 (0)