runformat

This commit is contained in:
Daniel Marjamäki 2022-06-08 09:21:01 +02:00
parent bb3f490edd
commit e43d2b8a80
1 changed files with 6 additions and 6 deletions

View File

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