diff --git a/cfg/gnu.cfg b/cfg/gnu.cfg index 8a72ccf5d..2c8d5dbe6 100644 --- a/cfg/gnu.cfg +++ b/cfg/gnu.cfg @@ -60,4 +60,129 @@ + + + false + + + + + + + + + + + + + + + + false + + + + + + + + + + + + + + + + false + + + + + + + + + + + + + false + + + + + + + + + + + + + + + + + + + + false + + + + + + + + + + + + + + + + + + + + false + + + + + + + + + + + + + + + + + + + + false + + + + + + + + + + + + + + + + + diff --git a/cfg/posix.cfg b/cfg/posix.cfg index 908ed3269..c349d8d74 100644 --- a/cfg/posix.cfg +++ b/cfg/posix.cfg @@ -997,4 +997,52 @@ false + + + false + + + + + + + + + + + + + + + + false + + + + + + + + + + + + + + + + false + + + + + + + + + + diff --git a/test/cfg/posix.c b/test/cfg/posix.c index 9f9da1207..831803ab8 100644 --- a/test/cfg/posix.c +++ b/test/cfg/posix.c @@ -143,6 +143,12 @@ void uninitvar(int fd) { pattern=""; // cppcheck-suppress uninitvar regcomp(®, pattern, cflags); + int decimal, sign; + double d; + // cppcheck-suppress uninitvar + // cppcheck-suppress unreadVariable + char *buffer = ecvt(d, 11, &decimal, &sign); + gcvt(3.141, 2, NULL); } void uninitvar_types(void) {