diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2014-05-30 22:54:27 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2014-05-30 22:54:27 +0100 |
commit | dca506dfe4a38b66259c554979a64d025615e836 (patch) | |
tree | f8b3e7e79651e915be3028b407ad54636c324c99 /riscos | |
parent | ae0e1316b773686c24d14b428cee80a4e9ed3bad (diff) | |
download | netsurf-dca506dfe4a38b66259c554979a64d025615e836.tar.gz |
Remove unused variables, and dead code.
Diffstat (limited to 'riscos')
-rw-r--r-- | riscos/textarea.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/riscos/textarea.c b/riscos/textarea.c index 86774fad4..57f7dd0e6 100644 --- a/riscos/textarea.c +++ b/riscos/textarea.c @@ -1065,7 +1065,7 @@ void ro_textarea_redraw(wimp_draw *redraw) void ro_textarea_redraw_internal(wimp_draw *redraw, bool update) { struct text_area *ta; - int clip_x0, clip_y0, clip_x1, clip_y1; + int clip_y0, clip_y1; int line0, line1, line; osbool more; rufl_code code; @@ -1084,9 +1084,7 @@ void ro_textarea_redraw_internal(wimp_draw *redraw, bool update) } while (more) { - clip_x0 = redraw->clip.x0 - (redraw->box.x0-redraw->xscroll); clip_y0 = (redraw->box.y1-redraw->yscroll) - redraw->clip.y1; - clip_x1 = redraw->clip.x1 - (redraw->box.x0-redraw->xscroll); clip_y1 = (redraw->box.y1-redraw->yscroll) - redraw->clip.y0; error = xcolourtrans_set_gcol( |