YAMLParser - fix SimpleKey uninitialized variable warnings. NFCI.
This commit is contained in:
parent
58236e6fa6
commit
b0d0928241
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue