Skip to content

Commit e183741

Browse files
Update std.c
1 parent 8dac772 commit e183741

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎test/cfg/std.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4914,8 +4914,8 @@ void invalidFunctionArgString(char c)
49144914
(void)strcat(str,&d);
49154915

49164916
/* cppcheck-suppress [bufferAccessOutOfBounds,invalidFunctionArgStr] */
4917-
char c[] = { 'a', 'b', 'c' };
4918-
(void)strcat(c, "def");
4917+
char a[] = { 'a', 'b', 'c' };
4918+
(void)strcat(a, "def");
49194919
}
49204920

49214921
void ignoredReturnValue_abs(int i)

0 commit comments

Comments
 (0)