From 63cc03a5dcfe2302eb73031a46d6e4a0bb56b759 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Tue, 26 Jul 2011 21:30:38 +0000 Subject: Fix GCC 4.6 warnings in core svn path=/trunk/netsurf/; revision=12629 --- desktop/tree.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'desktop/tree.c') diff --git a/desktop/tree.c b/desktop/tree.c index f8105bb19..6c8071d90 100644 --- a/desktop/tree.c +++ b/desktop/tree.c @@ -476,11 +476,10 @@ static void tree_recalculate_node_sizes(struct tree *tree, struct node *node, bool recalculate_sizes) { struct node_element *element; - int width, height; + int height; assert(node != NULL); - width = node->box.width; height = node->box.height; node->box.width = 0; node->box.height = 0; -- cgit v1.2.3