diff --git a/cfg/std.cfg b/cfg/std.cfg index d6e173262..743ca2eac 100644 --- a/cfg/std.cfg +++ b/cfg/std.cfg @@ -832,6 +832,7 @@ false + @@ -841,6 +842,7 @@ false + @@ -1408,6 +1410,7 @@ false + @@ -1417,6 +1420,7 @@ false + diff --git a/cfg/windows.cfg b/cfg/windows.cfg index a3571b237..6f6d8b75a 100644 --- a/cfg/windows.cfg +++ b/cfg/windows.cfg @@ -2095,10 +2095,13 @@ HFONT CreateFont( - - + + false + diff --git a/test/cfg/std.c b/test/cfg/std.c index d774ab5ce..0fea8bef0 100644 --- a/test/cfg/std.c +++ b/test/cfg/std.c @@ -78,7 +78,7 @@ void nullpointer(int value) // cppcheck-suppress nullPointer feof(0); // cppcheck-suppress nullPointer - fgetc(0); + (void)fgetc(0); // cppcheck-suppress nullPointer fclose(0); // cppcheck-suppress ignoredReturnValue @@ -265,7 +265,7 @@ void uninit_fgetc(void) { FILE *fp; // cppcheck-suppress uninitvar - fgetc(fp); + (void)fgetc(fp); } void uninit_fgetpos(void)