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