summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalUnixMakefileGenerator3.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-07-27 15:31:17 (GMT)
committerKen Martin <ken.martin@kitware.com>2005-07-27 15:31:17 (GMT)
commit6cc7bca222bce5fb6a074d7b6ffff5d0464b82e1 (patch)
treef5bc5aad4c0b6de22d1f07baf0e295390b7c5b52 /Source/cmGlobalUnixMakefileGenerator3.cxx
parentf85f919dbc37e01f9ef8dfdc9e4db9e413fbf20e (diff)
downloadCMake-6cc7bca222bce5fb6a074d7b6ffff5d0464b82e1.zip
CMake-6cc7bca222bce5fb6a074d7b6ffff5d0464b82e1.tar.gz
CMake-6cc7bca222bce5fb6a074d7b6ffff5d0464b82e1.tar.bz2
ENH: fix some warnings and cleanup some
Diffstat (limited to 'Source/cmGlobalUnixMakefileGenerator3.cxx')
-rw-r--r--Source/cmGlobalUnixMakefileGenerator3.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmGlobalUnixMakefileGenerator3.cxx b/Source/cmGlobalUnixMakefileGenerator3.cxx
index e550c2c..d1542c4 100644
--- a/Source/cmGlobalUnixMakefileGenerator3.cxx
+++ b/Source/cmGlobalUnixMakefileGenerator3.cxx
@@ -982,10 +982,10 @@ bool cmGlobalUnixMakefileGenerator3
cmLocalUnixMakefileGenerator3::IntegrityCheckSet>::const_iterator
l = checkSet.begin(); l != checkSet.end(); ++l)
{
- std::string name = "CMAKE_NEEDS_REQUIRES_STEP_";
- name += l->first;
- name += "_FLAG";
- if(lg->GetMakefile()->GetDefinition(name.c_str()))
+ std::string name2 = "CMAKE_NEEDS_REQUIRES_STEP_";
+ name2 += l->first;
+ name2 += "_FLAG";
+ if(lg->GetMakefile()->GetDefinition(name2.c_str()))
{
return true;
}