diff options
author | Brad King <brad.king@kitware.com> | 2019-12-06 13:38:38 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-12-06 13:38:58 (GMT) |
commit | b4568361d2202644dc8bf23ac1cea8ed874efaf5 (patch) | |
tree | 0c9c6d09cd8cb2e51a8f94f77a699afaa9b96acc | |
parent | 158839f0db905d44a4dd7d37e7bb36c1899fd17c (diff) | |
parent | 677097ac1d742d2ee1f5c932606326050a443e34 (diff) | |
download | CMake-b4568361d2202644dc8bf23ac1cea8ed874efaf5.zip CMake-b4568361d2202644dc8bf23ac1cea8ed874efaf5.tar.gz CMake-b4568361d2202644dc8bf23ac1cea8ed874efaf5.tar.bz2 |
Merge topic 'clang-analyzer-ignore-strcpy' into release-3.16
677097ac1d TestDriver: ignore strcpy call
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4116
-rw-r--r-- | Templates/TestDriver.cxx.in | 2 |
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)); } |