cmGlobalGenerator: Remove unneeded pointer check.
Deleting nullptr is ok.
This commit is contained in:
parent
c697c1fafe
commit
62429a1e54
|
@ -74,12 +74,8 @@ 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,
|
||||||
cmMakefile* mf)
|
cmMakefile* mf)
|
||||||
|
|
Loading…
Reference in New Issue