From 73a89e8a0faad46430abf4c85e52be7a01865fb4 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 28 May 2009 16:16:16 +0000 Subject: Lose redundant variable. Ensure name_t is used in tree_delete_node_internal() svn path=/trunk/netsurf/; revision=7609 --- desktop/tree.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'desktop/tree.c') diff --git a/desktop/tree.c b/desktop/tree.c index 83b56079f..ee0cfc3da 100644 --- a/desktop/tree.c +++ b/desktop/tree.c @@ -166,11 +166,10 @@ void tree_handle_node_element_changed(struct tree *tree, struct node_element *el */ void tree_recalculate_node(struct tree *tree, struct node *node, bool recalculate_sizes) { struct node_element *element; - int width, height; + int height; assert(node); - width = node->box.width; height = node->box.height; node->box.width = 0; node->box.height = 0; @@ -969,7 +968,7 @@ void tree_delete_node_internal(struct tree *tree, struct node *node, bool siblin urldb_delete_cookie( domain_t, path_t, - e->text); + name_t); } } } -- cgit v1.2.3