mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
Ref T488 Update cppcheck suppressions.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user