mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-09 08:40:11 -06:00
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
This commit is contained 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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user