forked from qt-creator/qt-creator
CppEditor: Fix uninitialized value warnings
...from coverity scan. Change-Id: I1b1fb919e77f1407fe2e4319392c28413a296493 Reviewed-by: Robert Loehning <robert.loehning@qt.io>
This commit is contained in:
@@ -824,9 +824,9 @@ public:
|
||||
|
||||
ASTMatcher matcher;
|
||||
ASTPatternBuilder mk;
|
||||
ConditionAST *condition;
|
||||
IfStatementAST *pattern;
|
||||
CoreDeclaratorAST *core;
|
||||
ConditionAST *condition = nullptr;
|
||||
IfStatementAST *pattern = nullptr;
|
||||
CoreDeclaratorAST *core = nullptr;
|
||||
};
|
||||
|
||||
} // anonymous namespace
|
||||
@@ -901,9 +901,9 @@ public:
|
||||
|
||||
ASTMatcher matcher;
|
||||
ASTPatternBuilder mk;
|
||||
ConditionAST *condition;
|
||||
WhileStatementAST *pattern;
|
||||
CoreDeclaratorAST *core;
|
||||
ConditionAST *condition = nullptr;
|
||||
WhileStatementAST *pattern = nullptr;
|
||||
CoreDeclaratorAST *core = nullptr;
|
||||
};
|
||||
|
||||
} // anonymous namespace
|
||||
@@ -2235,7 +2235,7 @@ public:
|
||||
}
|
||||
|
||||
Overview prettyPrint;
|
||||
bool foundCaseStatementLevel;
|
||||
bool foundCaseStatementLevel = false;
|
||||
QStringList values;
|
||||
TypeOfExpression typeOfExpression;
|
||||
Document::Ptr document;
|
||||
|
||||
Reference in New Issue
Block a user