File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -274,9 +274,9 @@ class PathMatch::PathIterator {
274274 /* Position struct */
275275 struct Pos {
276276 /* String pointer */
277- const char *p;
277+ const char *p{} ;
278278 /* Raw characters left */
279- std::size_t l;
279+ std::size_t l{} ;
280280 /* Buffered character */
281281 int c {EOF};
282282 };
Original file line number Diff line number Diff line change @@ -694,12 +694,12 @@ class CPPCHECKLIB Tokenizer {
694694 struct TypedefInfo {
695695 std::string name;
696696 std::string filename;
697- int lineNumber;
698- int column;
697+ int lineNumber{} ;
698+ int column{} ;
699699 int tagLine{-1 };
700700 int tagColumn{-1 };
701- bool used;
702- bool isFunctionPointer;
701+ bool used{} ;
702+ bool isFunctionPointer{} ;
703703 std::vector<TypedefToken> typedefInfoTokens;
704704 };
705705 std::vector<TypedefInfo> mTypedefInfo ;
You can’t perform that action at this time.
0 commit comments