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:
Brad King
2019-12-06 13:38:38 +00:00
committed by Kitware Robot

View File

@@ -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));
}