Remove dead code and fix whitespace issue
This commit is contained in:
@@ -332,8 +332,7 @@ uint8_t *Node::partialKey() {
|
|||||||
case Type::Node256:
|
case Type::Node256:
|
||||||
return ((Node256 *)this)->partialKey();
|
return ((Node256 *)this)->partialKey();
|
||||||
}
|
}
|
||||||
__builtin_unreachable();
|
__builtin_unreachable(); // GCOVR_EXCL_LINE
|
||||||
; // GCOVR_EXCL_LINE
|
|
||||||
}
|
}
|
||||||
|
|
||||||
struct NodeAllocators {
|
struct NodeAllocators {
|
||||||
@@ -526,12 +525,6 @@ int getChildGeq(Node *self, int child) {
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
void setChildrenParents(Node4 *n) {
|
|
||||||
for (int i = 0; i < n->numChildren; ++i) {
|
|
||||||
n->children[i].child->parent = n;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void setChildrenParents(Node16 *n) {
|
void setChildrenParents(Node16 *n) {
|
||||||
for (int i = 0; i < n->numChildren; ++i) {
|
for (int i = 0; i < n->numChildren; ++i) {
|
||||||
n->children[i].child->parent = n;
|
n->children[i].child->parent = n;
|
||||||
|
Reference in New Issue
Block a user