COMP: fix warning
This commit is contained in:
parent
1bca540e52
commit
17ebcb1bcd
|
@ -1019,11 +1019,10 @@ cmLocalGenerator* cmGlobalGenerator::FindLocalGenerator(const char* start_dir)
|
|||
cmTarget* cmGlobalGenerator::FindTarget(const char* project,
|
||||
const char* name)
|
||||
{
|
||||
std::vector<cmLocalGenerator*>* gens = &this->LocalGenerators;
|
||||
// if project specific
|
||||
if(project)
|
||||
{
|
||||
gens = &this->ProjectMap[project];
|
||||
std::vector<cmLocalGenerator*>* gens = &this->ProjectMap[project];
|
||||
for(unsigned int i = 0; i < gens->size(); ++i)
|
||||
{
|
||||
cmTarget* ret = (*gens)[i]->GetMakefile()->FindTarget(name);
|
||||
|
|
Loading…
Reference in New Issue