summaryrefslogtreecommitdiff
path: root/riscos/toolbar.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2014-05-30 23:22:50 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2014-05-30 23:22:50 +0100
commitecee6ffad8d11f16c63ee99309110c5ef7c349a2 (patch)
treecb43431c16a6a4a585719bf073bb4fd7b5a5d4ce /riscos/toolbar.c
parent33513e65eae324f51875d11e88154c9c294cf3b8 (diff)
downloadnetsurf-ecee6ffad8d11f16c63ee99309110c5ef7c349a2.tar.gz
netsurf-ecee6ffad8d11f16c63ee99309110c5ef7c349a2.tar.bz2
Remove dead code.
Diffstat (limited to 'riscos/toolbar.c')
-rw-r--r--riscos/toolbar.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/riscos/toolbar.c b/riscos/toolbar.c
index 5bbde8a38..bd76e23de 100644
--- a/riscos/toolbar.c
+++ b/riscos/toolbar.c
@@ -593,8 +593,6 @@ bool ro_toolbar_process(struct toolbar *toolbar, int width, bool reformat)
wimp_window_state state;
os_box extent;
int old_height, old_width;
- int xeig, yeig;
- os_coord pixel = {1, 1};
if (!toolbar)
return false;
@@ -602,12 +600,6 @@ bool ro_toolbar_process(struct toolbar *toolbar, int width, bool reformat)
old_height = toolbar->current_height;
old_width = toolbar->current_width;
- /* calculate 1px in OS units */
-
- ro_convert_pixels_to_os_units(&pixel, (os_mode)-1);
- xeig = pixel.x;
- yeig = pixel.y;
-
/* Measure the parent window width if the caller has asked us to
* calculate the clip width ourselves. Otherwise, if a clip width
* has been specified, set the clip to that.