From d12357c9a360b3d1c12e1db29ad51451db48e879 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 31 Mar 2008 22:22:14 +0000 Subject: Remove unused variable. Update copyright. svn path=/trunk/netsurf/; revision=4067 --- desktop/selection.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/desktop/selection.c b/desktop/selection.c index af72870bb..f0b07b95d 100644 --- a/desktop/selection.c +++ b/desktop/selection.c @@ -1,5 +1,6 @@ /* * Copyright 2005 Adrian Lees + * Copyright 2008 Michael Drake * * This file is part of NetSurf, http://www.netsurf-browser.org/ * @@ -449,7 +450,6 @@ bool traverse_tree(struct box *box, unsigned start_idx, unsigned end_idx, void *handle, seln_whitespace *before, bool *first) { struct box *child; - size_t box_length; const char *whitespace_text = ""; size_t whitespace_length = 0; @@ -513,7 +513,6 @@ bool traverse_tree(struct box *box, unsigned start_idx, unsigned end_idx, whitespace_text = NULL; } - box_length = box->length + box->space; /* include trailing space */ if (num_space == NUMBER_SPACE(box->byte_offset) && box->type != BOX_BR) { unsigned start_offset; -- cgit v1.2.3