summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator3.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-05-19 17:32:55 (GMT)
committerKen Martin <ken.martin@kitware.com>2005-05-19 17:32:55 (GMT)
commitb2cca4799dc503ba16f9b96ffa817863ba5fb8cb (patch)
tree1a6c69c8a8c7678cdc913ebf0ef6d369a3b5c7d7 /Source/cmLocalUnixMakefileGenerator3.cxx
parentc37eecffe2f35830c0d2b4420ff56736c3f61ea2 (diff)
downloadCMake-b2cca4799dc503ba16f9b96ffa817863ba5fb8cb.zip
CMake-b2cca4799dc503ba16f9b96ffa817863ba5fb8cb.tar.gz
CMake-b2cca4799dc503ba16f9b96ffa817863ba5fb8cb.tar.bz2
COMP: fix warning
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index 6751f2d..7f32628 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -386,12 +386,12 @@ cmLocalUnixMakefileGenerator3
if (m_CustomRuleFiles.size())
{
// do the include
- std::string dir = m_Makefile->GetStartOutputDirectory();
- dir += "/CMakeCustomRules.dir/build.make";
- dir = this->Convert(dir.c_str(),HOME_OUTPUT,MAKEFILE);
+ std::string dir2 = m_Makefile->GetStartOutputDirectory();
+ dir2 += "/CMakeCustomRules.dir/build.make";
+ dir2 = this->Convert(dir2.c_str(),HOME_OUTPUT,MAKEFILE);
ruleFileStream
<< m_IncludeDirective << " "
- << this->ConvertToOutputForExisting(dir.c_str()).c_str()
+ << this->ConvertToOutputForExisting(dir2.c_str()).c_str()
<< "\n";
}
@@ -847,12 +847,12 @@ cmLocalUnixMakefileGenerator3
if (m_CustomRuleFiles.size())
{
// do the include
- std::string dir = m_Makefile->GetStartOutputDirectory();
- dir += "/CMakeCustomRules.dir/build.make";
- dir = this->Convert(dir.c_str(),HOME_OUTPUT,MAKEFILE);
+ std::string dir2 = m_Makefile->GetStartOutputDirectory();
+ dir2 += "/CMakeCustomRules.dir/build.make";
+ dir2 = this->Convert(dir2.c_str(),HOME_OUTPUT,MAKEFILE);
ruleFileStream
<< m_IncludeDirective << " "
- << this->ConvertToOutputForExisting(dir.c_str()).c_str()
+ << this->ConvertToOutputForExisting(dir2.c_str()).c_str()
<< "\n";
}