summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2006-04-12 15:56:27 (GMT)
committerKen Martin <ken.martin@kitware.com>2006-04-12 15:56:27 (GMT)
commit17ebcb1bcddab658ee8e4c6bfeb4706e7f72fe32 (patch)
treec6725092294387fa93b0a908d0412349ff70a76a /Source/cmGlobalGenerator.cxx
parent1bca540e524787961c3fbe253113c9c04a828bc7 (diff)
downloadCMake-17ebcb1bcddab658ee8e4c6bfeb4706e7f72fe32.zip
CMake-17ebcb1bcddab658ee8e4c6bfeb4706e7f72fe32.tar.gz
CMake-17ebcb1bcddab658ee8e4c6bfeb4706e7f72fe32.tar.bz2
COMP: fix warning
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r--Source/cmGlobalGenerator.cxx3
1 files changed, 1 insertions, 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<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);