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/cmMakefile.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/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index f52fe26..fccb486 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -961,7 +961,7 @@ void cmMakefile::AddCustomCommandOldStyle( commandLines, comment, CM_NULLPTR); } else { // The source may not be a real file. Do not use a main dependency. - std::string no_main_dependency = ""; + std::string no_main_dependency; std::vector<std::string> depends2 = depends; depends2.push_back(source); sf = this->AddCustomCommandToOutput(output, depends2, no_main_dependency, @@ -1051,7 +1051,7 @@ cmTarget* cmMakefile::AddUtilityCommand( force += utilityName; std::vector<std::string> forced; forced.push_back(force); - std::string no_main_dependency = ""; + std::string no_main_dependency; bool no_replace = false; this->AddCustomCommandToOutput( forced, byproducts, depends, no_main_dependency, commandLines, comment, |