mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-13 01:29:02 -05:00
Remove redundant c_str() calls.
Run clang-tidy's readability-redundant-string-cstr checker. Ignore findings in kwsys.
This commit is contained in:
@@ -337,10 +337,9 @@ void cmMakefileLibraryTargetGenerator::WriteLibraryRules(
|
||||
buildEcho += " library ";
|
||||
break;
|
||||
}
|
||||
buildEcho += targetOutPath.c_str();
|
||||
this->LocalGenerator->AppendEcho(commands, buildEcho.c_str(),
|
||||
cmLocalUnixMakefileGenerator3::EchoLink,
|
||||
&progress);
|
||||
buildEcho += targetOutPath;
|
||||
this->LocalGenerator->AppendEcho(
|
||||
commands, buildEcho, cmLocalUnixMakefileGenerator3::EchoLink, &progress);
|
||||
}
|
||||
|
||||
const char* forbiddenFlagVar = 0;
|
||||
|
||||
Reference in New Issue
Block a user