Skip to content

Commit

Permalink
fix(registry): default-initialize revision number
Browse files Browse the repository at this point in the history
  • Loading branch information
trollixx committed Sep 8, 2023
1 parent a9edeb4 commit e5b097c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/libs/registry/docset.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class Docset final
QString m_title;
QStringList m_keywords;
QString m_version;
int m_revision;
int m_revision = 0;
QString m_feedUrl;
Docset::Type m_type = Type::Invalid;
QString m_path;
Expand Down
2 changes: 1 addition & 1 deletion src/libs/registry/docsetmetadata.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class DocsetMetadata
QString m_title;
QStringList m_aliases;
QStringList m_versions;
int m_revision;
int m_revision = 0;

QByteArray m_rawIcon;
QByteArray m_rawIcon2x;
Expand Down

0 comments on commit e5b097c

Please sign in to comment.