aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2022-11-08 13:36:54 +0100
committerhjk <hjk@qt.io>2022-11-08 13:25:42 +0000
commit9364304f817cd40a4a17e662a9122e9c10148e67 (patch)
treec7351ca93a0375ce7822418234286a2ce5700def
parent08002c6278383363838d36fba05946f53e5152f7 (diff)
Debugger: Remove some debugging code
Avoids a possibly large temporary string. Change-Id: Ic20cccedc35df0172c3586054f098e2c0f4b69c2 Reviewed-by: David Schulz <david.schulz@qt.io>
-rw-r--r--src/plugins/debugger/debuggerprotocol.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/debugger/debuggerprotocol.cpp b/src/plugins/debugger/debuggerprotocol.cpp
index 09bd76073c..0bf60c3a4f 100644
--- a/src/plugins/debugger/debuggerprotocol.cpp
+++ b/src/plugins/debugger/debuggerprotocol.cpp
@@ -254,7 +254,6 @@ void GdbMi::parseTuple_helper(DebuggerOutputParser &parser)
{
parser.skipCommas();
//qDebug() << "parseTuple_helper: " << parser.buffer();
- QString buf = parser.buffer();
m_type = Tuple;
while (!parser.isAtEnd()) {
if (parser.isCurrent('}')) {