QmlProfiler: Remove some dead code.

Change-Id: I21f26bd40b78d760e72a6cc135a06a368c31eaf2
Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
Ulf Hermann
2015-06-18 10:41:22 +02:00
parent 9494303bdf
commit df40ebde3c

View File

@@ -78,11 +78,8 @@ static AnalyzerStartParameters createQmlProfilerStartParameters(RunConfiguration
sp.debuggee = rc->executable();
sp.debuggeeArgs = rc->commandLineArguments();
sp.displayName = rc->displayName();
sp.analyzerPort = LocalQmlProfilerRunner::findFreePort(sp.analyzerHost);
quint16 localPort = LocalQmlProfilerRunner::findFreePort(sp.analyzerHost);
if (localPort == 0)
return sp;
sp.analyzerPort = localPort;
return sp;
}