This commit is contained in:
orbitcowboy 2020-09-30 15:44:06 +02:00
parent c4dd8536c1
commit 63917bc3c3
1 changed files with 2 additions and 0 deletions

View File

@ -292,6 +292,8 @@ void ignoredReturnValue(void *addr, int fd)
getuid();
// cppcheck-suppress ignoredReturnValue
access("filename", 1);
// no ignoredReturnValue shall be shown for
setuid(42);
}