Better fix for c4dd8536c1
This commit is contained in:
parent
c4dd8536c1
commit
63917bc3c3
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue