forked from qt-creator/qt-creator
Ios: Remove redundant null validation
Change-Id: I1058e83fd4c16a162d79ef794382071da77a902c Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
b3843939cb
commit
4e43e2edb4
@@ -71,8 +71,6 @@ bool IosDeployConfigurationFactory::canCreate(Target *parent, const Core::Id id)
|
||||
DeployConfiguration *IosDeployConfigurationFactory::create(Target *parent, const Core::Id id)
|
||||
{
|
||||
IosDeployConfiguration *dc = new IosDeployConfiguration(parent, id);
|
||||
if (!dc)
|
||||
return 0;
|
||||
dc->stepList()->insertStep(0, new IosDeployStep(dc->stepList()));
|
||||
return dc;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user