summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-09-23 13:11:01 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-09-23 13:11:01 (GMT)
commitd11cecab7d29e6ba5a8bdc7ad290a97edd276939 (patch)
treef21acf6014e918299d6164e71fa3e0954a99332c /Source/cmLocalUnixMakefileGenerator.cxx
parentd85738fe3f2c6bc0cdb63b7e18c49233bd549ad7 (diff)
downloadCMake-d11cecab7d29e6ba5a8bdc7ad290a97edd276939.zip
CMake-d11cecab7d29e6ba5a8bdc7ad290a97edd276939.tar.gz
CMake-d11cecab7d29e6ba5a8bdc7ad290a97edd276939.tar.bz2
STYLE: remove warning
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator.cxx b/Source/cmLocalUnixMakefileGenerator.cxx
index 15d5092..0bd28dd 100644
--- a/Source/cmLocalUnixMakefileGenerator.cxx
+++ b/Source/cmLocalUnixMakefileGenerator.cxx
@@ -1094,7 +1094,7 @@ cmLocalUnixMakefileGenerator::ExpandRuleVariables(std::string& s,
cmSystemTools::ReplaceString(actualReplace, "${LANG}", i->c_str());
std::string actualReplaceWith = replaceWith;
cmSystemTools::ReplaceString(actualReplaceWith, "${LANG}", i->c_str());
- std::string replace = m_Makefile->GetSafeDefinition(actualReplaceWith.c_str());
+ replace = m_Makefile->GetSafeDefinition(actualReplaceWith.c_str());
// if the variable is not a FLAG then treat it like a path
if(actualReplaceWith.find("_FLAG") == actualReplaceWith.npos)
{