diff options
author | Brad King <brad.king@kitware.com> | 2017-06-01 14:18:15 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-06-01 14:18:54 -0400 |
commit | 389ed56f63653e89b3d640cf7aebdc8ebe7ca643 (patch) | |
tree | 51d13796b36efcf4390028acc450591103143df3 | |
parent | 9fe4a9e2aed8457d7124d86e31a272180794ac61 (diff) | |
download | cmake-389ed56f63653e89b3d640cf7aebdc8ebe7ca643.tar.gz |
cmLocalUnixMakefileGenerator3: Remove unnecessary local variable
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator3.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx index 959178eef8..8d3edb8c35 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 |