diff options
author | albert-github <albert.tests@gmail.com> | 2019-12-02 13:23:25 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2019-12-02 13:23:25 (GMT) |
commit | ef06c8d14c7889e723331601ac847cc481966f5c (patch) | |
tree | f95298a5b676b41d3bdf72f2c17f7765b5cb7948 /src/doctokenizer.h | |
parent | 9b14bf58c30a02ef19abebec280568532dc58ed4 (diff) | |
download | Doxygen-ef06c8d14c7889e723331601ac847cc481966f5c.zip Doxygen-ef06c8d14c7889e723331601ac847cc481966f5c.tar.gz Doxygen-ef06c8d14c7889e723331601ac847cc481966f5c.tar.bz2 |
Coverity uninitialized
Fixing a number of uninitialized variables based on the coverity output of November 30, 2019
Diffstat (limited to 'src/doctokenizer.h')
-rw-r--r-- | src/doctokenizer.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/doctokenizer.h b/src/doctokenizer.h index f89069c..badf23e 100644 --- a/src/doctokenizer.h +++ b/src/doctokenizer.h @@ -80,8 +80,8 @@ struct TokenInfo // comment blocks // list token info - bool isEnumList; - int indent; + bool isEnumList = false; + int indent = 0; // sections QCString sectionId; @@ -94,22 +94,22 @@ struct TokenInfo QCString verb; // xrefitem - int id; + int id = -1; // html tag HtmlAttribList attribs; - bool endTag; - bool emptyTag; + bool endTag = false; + bool emptyTag = false; // whitespace QCString chars; // url - bool isEMailAddr; + bool isEMailAddr = false; // param attributes enum ParamDir { In=1, Out=2, InOut=3, Unspecified=0 }; - ParamDir paramDir; + ParamDir paramDir = Unspecified; }; // globals |