Skip to content

Commit 63917bc

Browse files
committed
Better fix for c4dd853
1 parent c4dd853 commit 63917bc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

test/cfg/posix.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,8 @@ void ignoredReturnValue(void *addr, int fd)
292292
getuid();
293293
// cppcheck-suppress ignoredReturnValue
294294
access("filename", 1);
295+
// no ignoredReturnValue shall be shown for
296+
setuid(42);
295297
}
296298

297299

0 commit comments

Comments
 (0)