From ecee6ffad8d11f16c63ee99309110c5ef7c349a2 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 30 May 2014 23:22:50 +0100 Subject: Remove dead code. --- riscos/toolbar.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'riscos') 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. -- cgit v1.2.3