cmGlobalGenerator: Remove unneeded pointer check.

Deleting nullptr is ok.
This commit is contained in:
Stephen Kelly 2015-02-09 20:00:19 +01:00
parent c697c1fafe
commit 62429a1e54
1 changed files with 1 additions and 5 deletions

View File

@ -74,11 +74,7 @@ cmGlobalGenerator::cmGlobalGenerator()
cmGlobalGenerator::~cmGlobalGenerator() cmGlobalGenerator::~cmGlobalGenerator()
{ {
this->ClearGeneratorMembers(); this->ClearGeneratorMembers();
if (this->ExtraGenerator)
{
delete this->ExtraGenerator; delete this->ExtraGenerator;
}
} }
bool cmGlobalGenerator::SetGeneratorPlatform(std::string const& p, bool cmGlobalGenerator::SetGeneratorPlatform(std::string const& p,