summaryrefslogtreecommitdiff
path: root/src/plugins/cppeditor/cppquickfixes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/cppeditor/cppquickfixes.cpp')
-rw-r--r--src/plugins/cppeditor/cppquickfixes.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/plugins/cppeditor/cppquickfixes.cpp b/src/plugins/cppeditor/cppquickfixes.cpp
index 07373ace5f..f4e0b72691 100644
--- a/src/plugins/cppeditor/cppquickfixes.cpp
+++ b/src/plugins/cppeditor/cppquickfixes.cpp
@@ -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;