Skip to content

Commit

Permalink
Remove unnecessary return statement in rebalanceLeaf method
Browse files Browse the repository at this point in the history
  • Loading branch information
n8allan committed Mar 3, 2024
1 parent 93063a9 commit da84941
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/b-tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,6 @@ export class BTree<TKey, TEntry> {
path.leafIndex += leftSib.entries.length;
return this.rebalanceBranch(path, depth - 1);
}
return undefined;
}

private rebalanceBranch(path: Path<TKey, TEntry>, depth: number): ITreeNode | undefined {
Expand Down

0 comments on commit da84941

Please sign in to comment.