diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-12-10 13:53:06 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-12-12 19:04:13 (GMT) |
commit | a74e6893480e491959e9165106f199a8cd0edd57 (patch) | |
tree | 7b4973da863935de096b7ed31223a847f690abc2 /Source/cmExtraSublimeTextGenerator.cxx | |
parent | cac529dd495f05dcd24d33dd5fa595ff28eb7a60 (diff) | |
download | CMake-a74e6893480e491959e9165106f199a8cd0edd57.zip CMake-a74e6893480e491959e9165106f199a8cd0edd57.tar.gz CMake-a74e6893480e491959e9165106f199a8cd0edd57.tar.bz2 |
clang-tidy: apply readability-redundant-string-init fixes
Diffstat (limited to 'Source/cmExtraSublimeTextGenerator.cxx')
-rw-r--r-- | Source/cmExtraSublimeTextGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmExtraSublimeTextGenerator.cxx b/Source/cmExtraSublimeTextGenerator.cxx index 5712ab2..dfefefe 100644 --- a/Source/cmExtraSublimeTextGenerator.cxx +++ b/Source/cmExtraSublimeTextGenerator.cxx @@ -172,7 +172,7 @@ void cmExtraSublimeTextGenerator::AppendAllTargets( cmGeneratedFileStream& fout, MapSourceFileFlags& sourceFileFlags) { std::string make = mf->GetRequiredDefinition("CMAKE_MAKE_PROGRAM"); - std::string compiler = ""; + std::string compiler; if (!lgs.empty()) { this->AppendTarget(fout, "all", lgs[0], CM_NULLPTR, make.c_str(), mf, compiler.c_str(), sourceFileFlags, true); |