Commit 07c1609c authored by hjk's avatar hjk Committed by hjk

cppeditor: fix crash on uninitialized pointer

Reviewed-by: Erik Verbruggen
(cherry picked from commit 769b21b4)
Change-Id: I769b21b4x
Reviewed-on: http://codereview.qt.nokia.com/391Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent a3137a03
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment