chore: exclude all UNREACHABLE blocks from codecov (#5846)

This commit is contained in:
Mayukha Vadari
2025-10-08 04:25:51 -04:00
committed by GitHub
parent 2df730438d
commit 176fd2b6e4
53 changed files with 224 additions and 13 deletions

View File

@@ -129,10 +129,12 @@ inplace_bigint_div_rem(std::span<uint64_t> numerator, std::uint64_t divisor)
{
// should never happen, but if it does then it seems natural to define
// the a null set of numbers to be zero, so the remainder is also zero.
// LCOV_EXCL_START
UNREACHABLE(
"ripple::b58_fast::detail::inplace_bigint_div_rem : empty "
"numerator");
return 0;
// LCOV_EXCL_STOP
}
auto to_u128 = [](std::uint64_t high,