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:
|
// No warning shall be shown:
|
||||||
(void)strncat(dest, src, 42);
|
(void)strncat(dest, src, 42);
|
||||||
(void)strncat(dest, src, count);
|
(void)strncat(dest, src, count);
|
||||||
|
(void)strncat(dest, dest, count);
|
||||||
// cppcheck-suppress overlappingWriteFunction
|
// cppcheck-suppress overlappingWriteFunction
|
||||||
(void)strncat(dest, dest+1, 2);
|
(void)strncat(dest, dest+1, 2);
|
||||||
char buffer[] = "strncat";
|
char buffer[] = "strncat";
|
||||||
// cppcheck-suppress overlappingWriteFunction
|
// cppcheck-suppress overlappingWriteFunction
|
||||||
(void)strncat(buffer, buffer + 1, 3);
|
return strncat(buffer, buffer + 1, 3);
|
||||||
// TODO-cppcheck-suppress overlappingWriteFunction
|
|
||||||
return strncat(src, src, count);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
wchar_t * overlappingWriteFunction_wcscpy(wchar_t *src, wchar_t *dest)
|
wchar_t * overlappingWriteFunction_wcscpy(wchar_t *src, wchar_t *dest)
|
||||||
|
|
Loading…
Reference in New Issue