Remove suspected dead code
Removing it is definitely safe. I suspect that any way to get here would have already returned from checkRangeRead during the search for the common prefix
This commit is contained in:
@@ -1681,9 +1681,6 @@ bool checkRangeStartsWith(Node *n, std::span<const uint8_t> key, int begin,
|
|||||||
#endif
|
#endif
|
||||||
auto remaining = key;
|
auto remaining = key;
|
||||||
for (;;) {
|
for (;;) {
|
||||||
if (maxVersion(n, impl) <= readVersion) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (remaining.size() == 0) {
|
if (remaining.size() == 0) {
|
||||||
return maxBetweenExclusive(n, begin, end) <= readVersion;
|
return maxBetweenExclusive(n, begin, end) <= readVersion;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user