summaryrefslogtreecommitdiff
path: root/Source/CTest/cmParseBlanketJSCoverage.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-05-26 22:52:22 +0200
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2016-05-26 22:52:22 +0200
commit1b2bb93302116a4791cf82e9cce028dfe87ef55d (patch)
treeb20aead9b34d9bdba3243439dd8f0aed032727e2 /Source/CTest/cmParseBlanketJSCoverage.cxx
parentacd8a73044e879286f0cfa24b54497a8307f204b (diff)
downloadcmake-1b2bb93302116a4791cf82e9cce028dfe87ef55d.tar.gz
Remove redundant c_str() calls.
Run clang-tidy's readability-redundant-string-cstr checker. Ignore findings in kwsys.
Diffstat (limited to 'Source/CTest/cmParseBlanketJSCoverage.cxx')
-rw-r--r--Source/CTest/cmParseBlanketJSCoverage.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmParseBlanketJSCoverage.cxx b/Source/CTest/cmParseBlanketJSCoverage.cxx
index 1e4284746a..152c354aca 100644
--- a/Source/CTest/cmParseBlanketJSCoverage.cxx
+++ b/Source/CTest/cmParseBlanketJSCoverage.cxx
@@ -74,7 +74,7 @@ public:
}
foundFile = true;
inSource = false;
- filename = getValue(line, 0).c_str();
+ filename = getValue(line, 0);
} else if ((line.find("coverage") != line.npos) && foundFile &&
inSource) {
/*