diff options
author | Alessandro Portale <alessandro.portale@qt.io> | 2019-01-16 15:36:20 +0100 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@qt.io> | 2019-01-17 10:55:33 +0000 |
commit | d9c05d3d207675bdff6b9b9540f6db1d8ef09e7b (patch) | |
tree | 19d21a03096e0758353cc7420607f28f523c2f5b /src/plugins/debugger/qml/qmlengine.cpp | |
parent | c82d2cbd546f70d71493db483e8c2d82e6c022e1 (diff) |
Fix warning: "Unused non-trivial variable"
[-Wclazy-unused-non-trivial-variable]
Change-Id: Ia99c3de31fd92205f25624ab60e60370c1aa4538
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/debugger/qml/qmlengine.cpp')
-rw-r--r-- | src/plugins/debugger/qml/qmlengine.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/debugger/qml/qmlengine.cpp b/src/plugins/debugger/qml/qmlengine.cpp index 8e03b42c67..11ca46bb39 100644 --- a/src/plugins/debugger/qml/qmlengine.cpp +++ b/src/plugins/debugger/qml/qmlengine.cpp @@ -1847,7 +1847,6 @@ void QmlEnginePrivate::messageReceived(const QByteArray &data) const QVariantList v8BreakpointIdList = breakData.value("breakpoints").toList(); for (const QVariant &breakpointId : v8BreakpointIdList) { - const QString x = breakpointId.toString(); const QString responseId = QString::number(breakpointId.toInt()); Breakpoint bp = engine->breakHandler()->findBreakpointByResponseId(responseId); QTC_ASSERT(bp, continue); |