Remove dead code

This commit is contained in:
2024-02-09 11:51:51 -08:00
parent d320fb6eee
commit 8e918acc05

View File

@@ -756,9 +756,6 @@ bool checkRangeRead(Node *n, const std::span<const uint8_t> begin,
assert(left.n != nullptr);
auto boundaryVersion = left.n->entry.pointVersion;
// Already checked left rangeVersion
if (right.cmp == 0) {
boundaryVersion = std::max(boundaryVersion, right.n->entry.rangeVersion);
}
if (boundaryVersion > readVersion) {
return false;
}