Skip to content

Commit

Permalink
fix sonarqube issues
Browse files Browse the repository at this point in the history
  • Loading branch information
GIC-de committed Nov 28, 2024
1 parent a9cb37e commit d4aced3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/hb_tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -401,8 +401,7 @@ remove_node(hb_tree* tree, hb_node* node)
rotate_rl(tree, p);
} else {
rotations += 1;
if (rotate_l(tree, p))
break;
if (rotate_l(tree, p)) break;
}
node = PARENT(p);
} else if (BAL_NEG(p)) { /* else if p->balance == -1 */
Expand Down

0 comments on commit d4aced3

Please sign in to comment.