summaryrefslogtreecommitdiff
path: root/Source/cmStringCommand.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-12-10 14:53:06 +0100
committerBrad King <brad.king@kitware.com>2016-12-12 14:04:13 -0500
commita74e6893480e491959e9165106f199a8cd0edd57 (patch)
tree7b4973da863935de096b7ed31223a847f690abc2 /Source/cmStringCommand.cxx
parentcac529dd495f05dcd24d33dd5fa595ff28eb7a60 (diff)
downloadcmake-a74e6893480e491959e9165106f199a8cd0edd57.tar.gz
clang-tidy: apply readability-redundant-string-init fixes
Diffstat (limited to 'Source/cmStringCommand.cxx')
-rw-r--r--Source/cmStringCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmStringCommand.cxx b/Source/cmStringCommand.cxx
index 48c086f4f0..eb94080f3b 100644
--- a/Source/cmStringCommand.cxx
+++ b/Source/cmStringCommand.cxx
@@ -150,7 +150,7 @@ bool cmStringCommand::HandleAsciiCommand(std::vector<std::string> const& args)
}
std::string::size_type cc;
std::string outvar = args[args.size() - 1];
- std::string output = "";
+ std::string output;
for (cc = 1; cc < args.size() - 1; cc++) {
int ch = atoi(args[cc].c_str());
if (ch > 0 && ch < 256) {