runformat
This commit is contained in:
parent
bb3f490edd
commit
e43d2b8a80
|
@ -31,12 +31,12 @@
|
||||||
|
|
||||||
int invalidFunctionArgStr_strcpn(void)
|
int invalidFunctionArgStr_strcpn(void)
|
||||||
{
|
{
|
||||||
const char str1[] = "ABCDEF49620910";
|
const char str1[] = "ABCDEF49620910";
|
||||||
const char str2[] = "42";
|
const char str2[] = "42";
|
||||||
const char pattern[3] = { -42, -43, -44 };
|
const char pattern[3] = { -42, -43, -44 };
|
||||||
// cppcheck-suppress invalidFunctionArgStr
|
// cppcheck-suppress invalidFunctionArgStr
|
||||||
(void) strcspn(str1, pattern);
|
(void) strcspn(str1, pattern);
|
||||||
return strcspn(str1, str2);
|
return strcspn(str1, str2);
|
||||||
}
|
}
|
||||||
|
|
||||||
void invalidFunctionArgStr_strncat(void)
|
void invalidFunctionArgStr_strncat(void)
|
||||||
|
|
Loading…
Reference in New Issue