Commit 5505d194 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

Ios: Remove unused local variables

Change-Id: Id6b86e6e56d07a276e41ec83901c2aa3e1dbbe07
Reviewed-by: default avatarFawzi Mohamed <fawzi.mohamed@digia.com>
parent d750554e
......@@ -430,9 +430,6 @@ void IosConfigurations::updateSimulators()
// currently we have just one simulator
DeviceManager *devManager = DeviceManager::instance();
Core::Id devId = Constants::IOS_SIMULATOR_DEVICE_ID;
QMap<QString, Platform> platforms = IosProbe::detectPlatforms();
QMapIterator<QString, Platform> iter(platforms);
Utils::FileName simulatorPath;
IDevice::ConstPtr dev = devManager->find(devId);
if (!dev.isNull())
return;
......
......@@ -177,7 +177,6 @@ void IosProbe::setupDefaultToolchains(const QString &devPath, const QString &xco
qDebug() << indent << QString::fromLatin1("Expected arm architecture, not %1").arg(arch);
extraFlags << QLatin1String("-arch") << arch;
} else if (name == QLatin1String("iphonesimulator")) {
QString arch = defaultProp.value(QLatin1String("ARCHS")).toString();
// don't generate a toolchain for 64 bit (to fix when we support that)
extraFlags << QLatin1String("-arch") << QLatin1String("i386");
}
......@@ -252,8 +251,6 @@ void IosProbe::setupDefaultToolchains(const QString &devPath, const QString &xco
.arg(currentSdkName.toString());
continue;
}
QString safeName = currentSdkName.toString().replace(QLatin1Char('-'), QLatin1Char('_'))
.replace(QRegExp(QLatin1String("[^-a-zA-Z0-9]")), QLatin1String("-"));
if (sdkName.isEmpty()) {
if (compareVersions(maxVersion, versionStr) > 0) {
maxVersion = versionStr;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment