Ref T488 Update cppcheck suppressions.

This commit is contained in:
Mat Sutcliffe
2018-12-26 20:52:27 +00:00
parent 84a5349c6c
commit 5a17f43a5b
10 changed files with 18 additions and 26 deletions

View File

@@ -87,6 +87,7 @@ namespace BlackMisc
const QString p = this->part(index);
if (p.isEmpty()) { return false; }
bool ok = false;
// cppcheck-suppress ignoredReturnValue
p.toInt(&ok);
return ok;
}