summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-06-01 18:18:15 (GMT)
committerBrad King <brad.king@kitware.com>2017-06-01 18:18:54 (GMT)
commit389ed56f63653e89b3d640cf7aebdc8ebe7ca643 (patch)
tree51d13796b36efcf4390028acc450591103143df3
parent9fe4a9e2aed8457d7124d86e31a272180794ac61 (diff)
downloadCMake-389ed56f63653e89b3d640cf7aebdc8ebe7ca643.zip
CMake-389ed56f63653e89b3d640cf7aebdc8ebe7ca643.tar.gz
CMake-389ed56f63653e89b3d640cf7aebdc8ebe7ca643.tar.bz2
cmLocalUnixMakefileGenerator3: Remove unnecessary local variable
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index 959178e..8d3edb8 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -1200,9 +1200,8 @@ void cmLocalUnixMakefileGenerator3::AppendEcho(
}
std::string cmLocalUnixMakefileGenerator3::CreateMakeVariable(
- const std::string& sin, const std::string& s2)
+ std::string const& s, std::string const& s2)
{
- std::string s = sin;
std::string unmodified = s;
unmodified += s2;
// if there is no restriction on the length of make variables