cmLocalUnixMakefileGenerator3: Remove unnecessary local variable

This commit is contained in:
Brad King
2017-06-01 14:18:15 -04:00
parent 9fe4a9e2ae
commit 389ed56f63

View File

@@ -1200,9 +1200,8 @@ void cmLocalUnixMakefileGenerator3::AppendEcho(
} }
std::string cmLocalUnixMakefileGenerator3::CreateMakeVariable( 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; std::string unmodified = s;
unmodified += s2; unmodified += s2;
// if there is no restriction on the length of make variables // if there is no restriction on the length of make variables