diff --git a/cfg/std.cfg b/cfg/std.cfg index 2ebd2c42d..fad093880 100644 --- a/cfg/std.cfg +++ b/cfg/std.cfg @@ -1058,7 +1058,6 @@ false - diff --git a/test/cfg/std.c b/test/cfg/std.c index 032b51f52..0fea8bef0 100644 --- a/test/cfg/std.c +++ b/test/cfg/std.c @@ -48,12 +48,12 @@ void bufferAccessOutOfBounds(void) // cppcheck-suppress bufferAccessOutOfBounds // cppcheck-suppress redundantCopy strncpy(a,"abcde",6); - (void)fread(a,1,5,stdin); + fread(a,1,5,stdin); // cppcheck-suppress bufferAccessOutOfBounds - (void)fread(a,1,6,stdin); + fread(a,1,6,stdin); fwrite(a,1,5,stdout); // cppcheck-suppress bufferAccessOutOfBounds - (void)fread(a,1,6,stdout); + fread(a,1,6,stdout); } // memory leak