Skip to content

Commit

Permalink
bee-dep: beedep_tree.c: remove unecessary variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Ruester committed Jan 26, 2012
1 parent a9a2bac commit 2d271ec
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/beedep_tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -293,15 +293,12 @@ void tree_node_free(struct tree *t, struct tree_node *n)
struct tree_node *delete,
*replace,
*to_update;
struct node *s;

delete = n;

if (!delete)
return;

s = delete->n;

if (delete->left) {
if (delete->right) {
replace = predecessor(delete);
Expand Down

0 comments on commit 2d271ec

Please sign in to comment.