summaryrefslogtreecommitdiffstats
path: root/src/tree.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-09-18 18:53:59 +0000
committerDavid Robillard <d@drobilla.net>2011-09-18 18:53:59 +0000
commit6651d4dbf74dc4591fbaf5250bfd6f7d58ce0363 (patch)
tree04d1a6666c5d79aa9b2129392397b884a98049e4 /src/tree.c
parent4d2da91a500ce75f61fdf1f5d03abde795fb7770 (diff)
downloadzix-6651d4dbf74dc4591fbaf5250bfd6f7d58ce0363.tar.gz
zix-6651d4dbf74dc4591fbaf5250bfd6f7d58ce0363.tar.bz2
zix-6651d4dbf74dc4591fbaf5250bfd6f7d58ce0363.zip
Tidy.
git-svn-id: http://svn.drobilla.net/zix/trunk@14 df6676b4-ccc9-40e5-b5d6-7c4628a128e3
Diffstat (limited to 'src/tree.c')
-rw-r--r--src/tree.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tree.c b/src/tree.c
index 60f983e..b197306 100644
--- a/src/tree.c
+++ b/src/tree.c
@@ -554,9 +554,9 @@ ZixStatus
zix_tree_remove(ZixTree* t, ZixTreeIter ti)
{
ZixTreeNode* const n = ti;
- ZixTreeNode** pp = NULL; // parent pointer
- ZixTreeNode* to_balance = n->parent; // lowest node to start rebalace at
- int8_t d_balance = 0; // delta(balance) for n->parent
+ ZixTreeNode** pp = NULL; // parent pointer
+ ZixTreeNode* to_balance = n->parent; // lowest node to balance
+ int8_t d_balance = 0; // delta(balance) for n->parent
#ifdef ZIX_TREE_DUMP
printf("*** REMOVE %ld\n", (intptr_t)n->data);