mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-23 07:10:53 +00:00
chore: Enable clang-tidy modernize-use-nodiscard check (#7015)
This commit is contained in:
@@ -409,8 +409,8 @@ validDocumentID(AnyValue const& v)
|
||||
{
|
||||
Json::Value jv;
|
||||
toJson(jv, v);
|
||||
jv.asUInt();
|
||||
jv.isNumeric();
|
||||
[[maybe_unused]] auto unused1 = jv.asUInt();
|
||||
[[maybe_unused]] auto unused2 = jv.isNumeric();
|
||||
return true;
|
||||
}
|
||||
catch (...)
|
||||
|
||||
Reference in New Issue
Block a user