mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 00:16:51 +08:00
Ref T488 Update cppcheck suppressions.
This commit is contained in:
@@ -431,6 +431,7 @@ namespace BlackMisc
|
||||
if (value.isUndefined())
|
||||
{
|
||||
constexpr bool required = false; //! \fixme add RequiredForJson flag in metaclass system
|
||||
// cppcheck-suppress knownConditionTrueFalse
|
||||
if (required) { throw CJsonException(QStringLiteral("Missing required member '%1'").arg(member.latin1Name())); }
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user