Commit 769b21b4 authored by hjk's avatar hjk

cppeditor: fix crash on uninitialized pointer

Reviewed-by: Erik Verbruggen
parent 0581219a
......@@ -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