summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-09-05 11:58:49 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2013-09-05 11:58:49 +0100
commit2fce8cccbcaf866aefa755da4b8c1eeb7631834c (patch)
tree17b92cf092438175824e37c82c193c01860e175c
parent5d3362be810f0e37a04c5092ffe42a879e895e51 (diff)
downloadnetsurf-2fce8cccbcaf866aefa755da4b8c1eeb7631834c.tar.gz
netsurf-2fce8cccbcaf866aefa755da4b8c1eeb7631834c.tar.bz2
Remove dead assignement.
-rw-r--r--desktop/textarea.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop/textarea.c b/desktop/textarea.c
index 9b2e52bc0..49fd090f1 100644
--- a/desktop/textarea.c
+++ b/desktop/textarea.c
@@ -1809,7 +1809,7 @@ void textarea_redraw(struct textarea *ta, int x, int y, colour bg, float scale,
const struct plotter_table *plot = ctx->plot;
int line0, line1, line, left, right, line_y;
int text_y_offset, text_y_offset_baseline;
- unsigned int b_pos, b_len, b_len_part, b_start, b_end, line_len;
+ unsigned int b_pos, b_len, b_len_part, b_start, b_end;
unsigned int sel_start, sel_end;
char *line_text;
struct rect r, s;
@@ -2002,7 +2002,6 @@ void textarea_redraw(struct textarea *ta, int x, int y, colour bg, float scale,
fstyle.size = fsize;
line_text = &(ta->show->data[ta->lines[line].b_start]);
- line_len = ta->lines[line].b_length;
/* find b_start and b_end for this part of the line */
b_start = b_end;