YAMLParser - fix SimpleKey uninitialized variable warnings. NFCI.

This commit is contained in:
Simon Pilgrim 2019-11-09 22:11:50 +00:00
parent 58236e6fa6
commit b0d0928241
1 changed files with 4 additions and 4 deletions

View File

@ -178,10 +178,10 @@ namespace {
/// others) before the SimpleKey's Tok.
struct SimpleKey {
TokenQueueT::iterator Tok;
unsigned Column;
unsigned Line;
unsigned FlowLevel;
bool IsRequired;
unsigned Column = 0;
unsigned Line = 0;
unsigned FlowLevel = 0;
bool IsRequired = false;
bool operator ==(const SimpleKey &Other) {
return Tok == Other.Tok;