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/cmFindProgramCommand.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/cmFindProgramCommand.cxx')
-rw-r--r-- | Source/cmFindProgramCommand.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmFindProgramCommand.cxx b/Source/cmFindProgramCommand.cxx index 2c496ba..ea031cf 100644 --- a/Source/cmFindProgramCommand.cxx +++ b/Source/cmFindProgramCommand.cxx @@ -116,7 +116,7 @@ bool cmFindProgramCommand::InitialPass(std::vector<std::string> const& argsIn, std::string cmFindProgramCommand::FindProgram() { - std::string program = ""; + std::string program; if (this->SearchAppBundleFirst || this->SearchAppBundleOnly) { program = FindAppBundle(); @@ -214,7 +214,7 @@ std::string cmFindProgramCommand::FindAppBundle() std::string cmFindProgramCommand::GetBundleExecutable(std::string bundlePath) { - std::string executable = ""; + std::string executable; (void)bundlePath; #if defined(__APPLE__) // Started with an example on developer.apple.com about finding bundles |