Skip to content

Commit

Permalink
Initialize Schema::Attribute::mRequired with false (cornelius#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
martonmiklos authored Sep 13, 2020
1 parent d86788d commit 8d4e145
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kxml_compiler/schema.h
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ class SCHEMA_EXPORT Attribute : public Node
QString elementName() const;

private:
bool mRequired;
bool mRequired = false;
QString mDefVal;
QString mElementName;
};
Expand Down

0 comments on commit 8d4e145

Please sign in to comment.