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

@@ -133,8 +133,10 @@ ApplyView::emptyDirDelete(Keylet const& directory)
if (directory.type != ltDIR_NODE ||
node->getFieldH256(sfRootIndex) != directory.key)
{
// LCOV_EXCL_START
UNREACHABLE("ripple::ApplyView::emptyDirDelete : invalid node type");
return false;
// LCOV_EXCL_STOP
}
// The directory still contains entries and so it cannot be removed