diff options
author | hjk <qtc-committer@nokia.com> | 2011-05-11 14:41:38 +0200 |
---|---|---|
committer | hjk <qthjk@ovi.com> | 2011-06-08 16:31:25 +0200 |
commit | 07c1609c0c58fb4c60c3a6ad2e34ed6010b6ff31 (patch) | |
tree | 8d4e33b1cfe0e046826bca9c7e4aca6b32640d91 | |
parent | a3137a031aabe376624823083c2d2667e02cd8c0 (diff) | |
download | qt-creator-07c1609c0c58fb4c60c3a6ad2e34ed6010b6ff31.tar.gz |
cppeditor: fix crash on uninitialized pointer
Reviewed-by: Erik Verbruggen
(cherry picked from commit 769b21b49d4072e426ac82271ba7797461ef86d3)
Change-Id: I769b21b49d4072e426ac82271ba7797461ef86d3x
Reviewed-on: http://codereview.qt.nokia.com/391
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
-rw-r--r-- | src/plugins/cppeditor/cppquickfixes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cppeditor/cppquickfixes.cpp b/src/plugins/cppeditor/cppquickfixes.cpp index 85ebca29bf..2bafa42d79 100644 --- a/src/plugins/cppeditor/cppquickfixes.cpp +++ b/src/plugins/cppeditor/cppquickfixes.cpp @@ -138,7 +138,7 @@ private: public: Operation(const CppQuickFixState &state, int priority, BinaryExpressionAST *binary, Kind invertToken) : CppQuickFixOperation(state, priority) - , binary(binary) + , binary(binary), nested(0), negation(0) { Token tok; tok.f.kind = invertToken; |