diff --git a/test/cfg/std.cpp b/test/cfg/std.cpp index 5b7e10c32..d4a99c6d3 100644 --- a/test/cfg/std.cpp +++ b/test/cfg/std.cpp @@ -3247,12 +3247,6 @@ void getline() void stdstring() { std::string s; - - // test that return type from s.empty() is bool - // cppcheck-suppress assignBoolToPointer - char *p = s.empty(); - (void)p; - // cppcheck-suppress ignoredReturnValue s.size(); }