diff --git a/cfg/posix.cfg b/cfg/posix.cfg index e74506c98f8..751142bacc1 100644 --- a/cfg/posix.cfg +++ b/cfg/posix.cfg @@ -4095,7 +4095,6 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s - Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. diff --git a/test/cfg/posix.c b/test/cfg/posix.c index af9f68ba4f0..a8075b21bcd 100644 --- a/test/cfg/posix.c +++ b/test/cfg/posix.c @@ -991,7 +991,6 @@ void nullPointer(char *p, int fd, pthread_mutex_t mutex) mkdir(p, 0); getcwd(0, 0); // cppcheck-suppress nullPointer - // cppcheck-suppress readdirCalled readdir(0); // cppcheck-suppress nullPointer // cppcheck-suppress utimeCalled