diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2011-07-26 21:30:38 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2011-07-26 21:30:38 +0000 |
commit | 63cc03a5dcfe2302eb73031a46d6e4a0bb56b759 (patch) | |
tree | f7437bbf34a172b1da7d7ec5fc567e36f1d5dee7 /desktop | |
parent | 16b92d1613e245919743be5f168abe77712ec84b (diff) | |
download | netsurf-63cc03a5dcfe2302eb73031a46d6e4a0bb56b759.tar.gz netsurf-63cc03a5dcfe2302eb73031a46d6e4a0bb56b759.tar.bz2 |
Fix GCC 4.6 warnings in core
svn path=/trunk/netsurf/; revision=12629
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/tree.c | 3 |
1 files changed, 1 insertions, 2 deletions
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; |