IosRunner: Remove unused local variables

Amends e66ae4ac76

Change-Id: I1e81e4bc2d940bd04efe138cbaa542ed82a3a177
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2024-11-19 15:23:45 +01:00
parent 6df814b472
commit d3102b23ff

View File

@@ -725,16 +725,12 @@ IosQmlProfilerSupport::IosQmlProfilerSupport(RunControl *runControl)
void IosQmlProfilerSupport::start()
{
QUrl serverUrl;
QTcpServer server;
const bool isListening = server.listen(QHostAddress::LocalHost)
|| server.listen(QHostAddress::LocalHostIPv6);
QTC_ASSERT(isListening, return);
serverUrl.setScheme(Utils::urlTcpScheme());
serverUrl.setHost(server.serverAddress().toString());
Port qmlPort = m_runner->qmlServerPort();
serverUrl.setPort(qmlPort.number());
const Port qmlPort = m_runner->qmlServerPort();
if (qmlPort.isValid())
reportStarted();
else