summaryrefslogtreecommitdiff
path: root/gtk/gtkrbtree.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkrbtree.c')
-rw-r--r--gtk/gtkrbtree.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/gtkrbtree.c b/gtk/gtkrbtree.c
index cc9d85342b..e46cc98dfd 100644
--- a/gtk/gtkrbtree.c
+++ b/gtk/gtkrbtree.c
@@ -1213,7 +1213,6 @@ _gtk_rbtree_remove_node (GtkRBTree *tree,
GtkRBNode *x, *y;
GtkRBTree *tmp_tree;
GtkRBNode *tmp_node;
- gint node_height;
gint y_height;
g_return_if_fail (tree != NULL);
@@ -1259,7 +1258,6 @@ _gtk_rbtree_remove_node (GtkRBTree *tree,
/* offsets and parity adjust all the way up through parent trees */
y_height = GTK_RBNODE_GET_HEIGHT (y);
- node_height = GTK_RBNODE_GET_HEIGHT (node) + (node->children?node->children->root->offset:0);
tmp_tree = tree;
tmp_node = y;