cmMakefile: Remove duplicate variable initialization.
This commit is contained in:
parent
5b7ff35c4d
commit
1363bff83a
|
@ -152,8 +152,8 @@ cmMakefile::cmMakefile(cmLocalGenerator* localGenerator)
|
||||||
this->Internal->IsSourceFileTryCompile = false;
|
this->Internal->IsSourceFileTryCompile = false;
|
||||||
|
|
||||||
// Initialize these first since AddDefaultDefinitions calls AddDefinition
|
// Initialize these first since AddDefaultDefinitions calls AddDefinition
|
||||||
this->WarnUnused = false;
|
this->WarnUnused = this->GetCMakeInstance()->GetWarnUnused();
|
||||||
this->CheckSystemVars = false;
|
this->CheckSystemVars = this->GetCMakeInstance()->GetCheckSystemVars();
|
||||||
|
|
||||||
this->GeneratingBuildSystem = false;
|
this->GeneratingBuildSystem = false;
|
||||||
this->SuppressWatches = false;
|
this->SuppressWatches = false;
|
||||||
|
@ -223,8 +223,6 @@ cmMakefile::cmMakefile(cmLocalGenerator* localGenerator)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
this->Properties.SetCMakeInstance(this->GetCMakeInstance());
|
this->Properties.SetCMakeInstance(this->GetCMakeInstance());
|
||||||
this->WarnUnused = this->GetCMakeInstance()->GetWarnUnused();
|
|
||||||
this->CheckSystemVars = this->GetCMakeInstance()->GetCheckSystemVars();
|
|
||||||
|
|
||||||
{
|
{
|
||||||
const char* dir = this->GetCMakeInstance()->GetHomeDirectory();
|
const char* dir = this->GetCMakeInstance()->GetHomeDirectory();
|
||||||
|
|
Loading…
Reference in New Issue