summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-12-06 13:38:38 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-12-06 13:38:58 (GMT)
commit58590f5a5a95607156369ca86f8899a5959b924f (patch)
treef3365957f96440a222489ae0ff4cc27c453ce722
parentc4c74c7693c3b74984a9f6eeb0a7b7d04ae82c5b (diff)
parent677097ac1d742d2ee1f5c932606326050a443e34 (diff)
downloadCMake-58590f5a5a95607156369ca86f8899a5959b924f.zip
CMake-58590f5a5a95607156369ca86f8899a5959b924f.tar.gz
CMake-58590f5a5a95607156369ca86f8899a5959b924f.tar.bz2
Merge topic 'clang-analyzer-ignore-strcpy'
677097ac1d TestDriver: ignore strcpy call Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4116
-rw-r--r--Templates/TestDriver.cxx.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Templates/TestDriver.cxx.in b/Templates/TestDriver.cxx.in
index ad8bfb0..846a828 100644
--- a/Templates/TestDriver.cxx.in
+++ b/Templates/TestDriver.cxx.in
@@ -54,7 +54,7 @@ static char* lowercase(const char* string)
if (new_string == CM_NULL) { /* NOLINT */
return CM_NULL; /* NOLINT */
}
- strcpy(new_string, string);
+ strcpy(new_string, string); /* NOLINT */
for (p = new_string; *p != 0; ++p) {
*p = CM_CAST(char, tolower(*p));
}