std.cfg: Cleanup wrong test case.
This commit is contained in:
parent
e90a3053d4
commit
9b46f59ff0
|
@ -98,13 +98,12 @@ char * overlappingWriteFunction_strncat(char *src, char *dest, const std::size_t
|
|||
// No warning shall be shown:
|
||||
(void)strncat(dest, src, 42);
|
||||
(void)strncat(dest, src, count);
|
||||
(void)strncat(dest, dest, count);
|
||||
// cppcheck-suppress overlappingWriteFunction
|
||||
(void)strncat(dest, dest+1, 2);
|
||||
char buffer[] = "strncat";
|
||||
// cppcheck-suppress overlappingWriteFunction
|
||||
(void)strncat(buffer, buffer + 1, 3);
|
||||
// TODO-cppcheck-suppress overlappingWriteFunction
|
||||
return strncat(src, src, count);
|
||||
return strncat(buffer, buffer + 1, 3);
|
||||
}
|
||||
|
||||
wchar_t * overlappingWriteFunction_wcscpy(wchar_t *src, wchar_t *dest)
|
||||
|
|
Loading…
Reference in New Issue