Commit 27cbc89c authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

Android: Remove unneeded null validation



Change-Id: Iede5baafd13f8b1a997336d843004e6423985616
Reviewed-by: default avatarBogDan Vatra <bogdan@kde.org>
parent d20d6c08
......@@ -75,8 +75,6 @@ bool AndroidDeployConfigurationFactory::canCreate(Target *parent, const Core::Id
DeployConfiguration *AndroidDeployConfigurationFactory::create(Target *parent, const Core::Id id)
{
AndroidDeployConfiguration *dc = new AndroidDeployConfiguration(parent, id);
if (!dc)
return 0;
if (id == ANDROID_DEPLOYCONFIGURATION_ID) {
dc->stepList()->insertStep(0, new AndroidPackageInstallationStep(AndroidPackageInstallationStep::ProjectDirectory, dc->stepList()));
......
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