Skip to content

Commit

Permalink
Refactoring: fix for potentially uninitialized variables
Browse files Browse the repository at this point in the history
  • Loading branch information
doxygen committed Jan 22, 2021
1 parent 82c34d3 commit 90aca5e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/definition.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class FTextStream;
struct DocInfo
{
QCString doc;
int line;
int line = -1;
QCString file;
};

Expand All @@ -56,17 +56,17 @@ struct BriefInfo
{
QCString doc;
QCString tooltip;
int line;
int line = -1;
QCString file;
};

/** Data associated with description found in the body. */
struct BodyInfo
{
int defLine; //!< line number of the start of the definition
int startLine; //!< line number of the start of the definition's body
int endLine; //!< line number of the end of the definition's body
FileDef *fileDef; //!< file definition containing the function body
int defLine = -1; //!< line number of the start of the definition
int startLine = -1; //!< line number of the start of the definition's body
int endLine = -1; //!< line number of the end of the definition's body
FileDef *fileDef = 0; //!< file definition containing the function body
};

/** The common base class of all entity definitions found in the sources.
Expand Down

0 comments on commit 90aca5e

Please sign in to comment.