diff --git a/test/cfg/posix.c b/test/cfg/posix.c index ad4edbd01..90428bc3b 100644 --- a/test/cfg/posix.c +++ b/test/cfg/posix.c @@ -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); }