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.
|
/// others) before the SimpleKey's Tok.
|
||||||
struct SimpleKey {
|
struct SimpleKey {
|
||||||
TokenQueueT::iterator Tok;
|
TokenQueueT::iterator Tok;
|
||||||
unsigned Column;
|
unsigned Column = 0;
|
||||||
unsigned Line;
|
unsigned Line = 0;
|
||||||
unsigned FlowLevel;
|
unsigned FlowLevel = 0;
|
||||||
bool IsRequired;
|
bool IsRequired = false;
|
||||||
|
|
||||||
bool operator ==(const SimpleKey &Other) {
|
bool operator ==(const SimpleKey &Other) {
|
||||||
return Tok == Other.Tok;
|
return Tok == Other.Tok;
|
||||||
|
|
Loading…
Reference in New Issue