forked from qt-creator/qt-creator
IosRunner: Remove unused local variables
Amends e66ae4ac76
Change-Id: I1e81e4bc2d940bd04efe138cbaa542ed82a3a177
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user