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 | 58590f5a5a95607156369ca86f8899a5959b924f (patch) | |
tree | f3365957f96440a222489ae0ff4cc27c453ce722 | |
parent | c4c74c7693c3b74984a9f6eeb0a7b7d04ae82c5b (diff) | |
parent | 677097ac1d742d2ee1f5c932606326050a443e34 (diff) | |
download | CMake-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.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)); } |