diff --git a/cfg/posix.cfg b/cfg/posix.cfg index c33a774af..38bab9fec 100644 --- a/cfg/posix.cfg +++ b/cfg/posix.cfg @@ -837,7 +837,7 @@ false - + @@ -1047,6 +1047,21 @@ false + + + + false + + + + + + + + + + + @@ -1066,16 +1081,11 @@ false - - - - - diff --git a/test/cfg/posix.c b/test/cfg/posix.c index eed6e10c1..1decaf1be 100644 --- a/test/cfg/posix.c +++ b/test/cfg/posix.c @@ -150,6 +150,7 @@ void uninitvar(int fd) { pattern=""; // cppcheck-suppress uninitvar regcomp(®, pattern, cflags); + regerror (0, ®, 0, 0); // cppcheck-suppress uninitvar // cppcheck-suppress unreadVariable char *buffer = ecvt(d, 11, &decimal, &sign);