Remove dead code

This commit is contained in:
2024-02-20 15:30:07 -08:00
parent 06f92722f0
commit 4cbbeab55d
-8
View File
@@ -1017,10 +1017,6 @@ struct CheckRangeLeftSide {
n = getChildExists(n, c); n = getChildExists(n, c);
return downLeftSpine(); return downLeftSpine();
} }
if (maxBetweenExclusive(n, c, 256) > readVersion) {
ok = false;
return true;
}
n = getChildExists(n, c); n = getChildExists(n, c);
ok = n->maxVersion <= readVersion; ok = n->maxVersion <= readVersion;
return true; return true;
@@ -1155,10 +1151,6 @@ struct CheckRangeRightSide {
n = getChildExists(n, c); n = getChildExists(n, c);
return downLeftSpine(); return downLeftSpine();
} }
if (maxBetweenExclusive(n, -1, c) > readVersion) {
ok = false;
return true;
}
ok = true; ok = true;
return true; return true;
} else { } else {