Commit 489639fa authored by Friedemann Kleint's avatar Friedemann Kleint Committed by Daniel Teske

Fix warning about unused variable in AndroidToolchain.

Change-Id: I7759fc9b069015d5559b014a84ed01e50471746e
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent 5c62a0f9
......@@ -201,10 +201,9 @@ bool AndroidToolChain::fromMap(const QVariantMap &data)
m_ndkToolChainVersion = data.value(QLatin1String(ANDROID_NDK_TC_VERION)).toString();
}
AndroidToolChainFactory *factory = ExtensionSystem::PluginManager::getObject<AndroidToolChainFactory>();
ProjectExplorer::Abi::Architecture arch = targetAbi().architecture();
m_secondaryToolChain = AndroidToolChainFactory::versionCompareLess(AndroidToolChainFactory::versionNumberFromString(m_ndkToolChainVersion),
factory->newestToolChainVersionForArch(arch));
AndroidToolChainFactory::newestToolChainVersionForArch(arch));
return isValid();
}
......
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