diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2008-03-31 22:22:14 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2008-03-31 22:22:14 +0000 |
commit | d12357c9a360b3d1c12e1db29ad51451db48e879 (patch) | |
tree | 318b9b2c89a726dc91caa172c9b121bddf5561f5 /desktop | |
parent | 13b1c0d379b304fb86a8f20f7d984640ab73d81a (diff) | |
download | netsurf-d12357c9a360b3d1c12e1db29ad51451db48e879.tar.gz netsurf-d12357c9a360b3d1c12e1db29ad51451db48e879.tar.bz2 |
Remove unused variable. Update copyright.
svn path=/trunk/netsurf/; revision=4067
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/selection.c | 3 |
1 files changed, 1 insertions, 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 <adrianl@users.sourceforge.net> + * Copyright 2008 Michael Drake <tlsa@netsurf-browser.org> * * 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; |