diff --git a/test/cfg/qt.cpp b/test/cfg/qt.cpp index 39376a11e..1d9106532 100644 --- a/test/cfg/qt.cpp +++ b/test/cfg/qt.cpp @@ -24,5 +24,5 @@ int QString2() { QString s; // cppcheck-suppress ignoredReturnValue // cppcheck-suppress reademptycontainer - s.at(10); -} \ No newline at end of file + return s.size(); +}