From 17ebcb1bcddab658ee8e4c6bfeb4706e7f72fe32 Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Wed, 12 Apr 2006 11:56:27 -0400 Subject: COMP: fix warning --- Source/cmGlobalGenerator.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index 65bc4d5..79181cc 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -1019,11 +1019,10 @@ cmLocalGenerator* cmGlobalGenerator::FindLocalGenerator(const char* start_dir) cmTarget* cmGlobalGenerator::FindTarget(const char* project, const char* name) { - std::vector* gens = &this->LocalGenerators; // if project specific if(project) { - gens = &this->ProjectMap[project]; + std::vector* gens = &this->ProjectMap[project]; for(unsigned int i = 0; i < gens->size(); ++i) { cmTarget* ret = (*gens)[i]->GetMakefile()->FindTarget(name); -- cgit v0.12