diff options
author | Christian Kandeler <christian.kandeler@nokia.com> | 2012-07-30 15:00:14 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@nokia.com> | 2012-07-30 15:01:28 +0200 |
commit | 7b8eafc671bdcdb07269f1ede781bb2f101ae66c (patch) | |
tree | 8b5fb346726525003ba2107168a7513389635669 | |
parent | 5e4584253a61bb5211c34e43d54152029d725361 (diff) | |
download | qt-creator-7b8eafc671bdcdb07269f1ede781bb2f101ae66c.tar.gz |
Name demangler: Add missing initialization.
Change-Id: I8284707c92221560115f2b5e4428b42013094cc6
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
-rw-r--r-- | src/plugins/debugger/namedemangler/parsetreenodes.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/debugger/namedemangler/parsetreenodes.cpp b/src/plugins/debugger/namedemangler/parsetreenodes.cpp index 435c6b564a..66f37a8a4b 100644 --- a/src/plugins/debugger/namedemangler/parsetreenodes.cpp +++ b/src/plugins/debugger/namedemangler/parsetreenodes.cpp @@ -1334,6 +1334,7 @@ QByteArray LocalNameNode::toByteArray() const name = encodingNode->toByteArray(); name.append("::{default arg#").append(QByteArray::number(argNumber)).append("}::") .append(MY_CHILD_AT(childCount() - 1)->toByteArray()); + hasDiscriminator = false; } else if (m_isStringLiteral) { name = CHILD_TO_BYTEARRAY(0) + "::{string literal}"; hasDiscriminator = childCount() == 2; |