diff --git a/cfg/posix.cfg b/cfg/posix.cfg index 8ebb16930..eab1ba014 100644 --- a/cfg/posix.cfg +++ b/cfg/posix.cfg @@ -1,16 +1,5 @@ - - false - - - - - - - - - false @@ -243,6 +232,9 @@ + + + @@ -252,6 +244,9 @@ + + + diff --git a/test/cfg/posix.c b/test/cfg/posix.c index 488234d67..7bc0a4968 100644 --- a/test/cfg/posix.c +++ b/test/cfg/posix.c @@ -152,8 +152,17 @@ void uninitvar(int fd) { // cppcheck-suppress unreadVariable char *buffer = ecvt(d, 11, &decimal, &sign); gcvt(3.141, 2, NULL); + + char *filename; + struct utimbuf *times; + // cppcheck-suppress uninitvar + utime(filename, times); + struct timeval times1[2]; + // cppcheck-suppress uninitvar + utime(filename, times1); } + void uninitvar_types(void) { // cppcheck-suppress unassignedVariable blkcnt_t b;