summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2016-12-29 12:01:48 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2016-12-29 12:01:48 +0000
commit2917af0a967bda993b8c1c5f194eea0b9881b6be (patch)
tree386994144a995e411c0c2df69365aa997691e386
parent7aa1dd601e40d0684efbdd53b6ce5109846fcc37 (diff)
downloadnetsurf-2917af0a967bda993b8c1c5f194eea0b9881b6be.tar.gz
netsurf-2917af0a967bda993b8c1c5f194eea0b9881b6be.tar.bz2
RISC OS: Squash set but unused variable.
-rw-r--r--frontends/riscos/window.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/frontends/riscos/window.c b/frontends/riscos/window.c
index 3e84846a3..45d5b1461 100644
--- a/frontends/riscos/window.c
+++ b/frontends/riscos/window.c
@@ -2388,15 +2388,13 @@ void ro_gui_window_menu_warning(wimp_w w, wimp_i i, wimp_menu *menu,
wimp_selection *selection, menu_action action)
{
struct gui_window *g;
- struct hlcache_handle *h;
- struct toolbar *toolbar;
+ struct hlcache_handle *h;
bool export;
if (menu != ro_gui_browser_window_menu)
return;
g = (struct gui_window *) ro_gui_wimp_event_get_user_data(w);
- toolbar = g->toolbar;
h = browser_window_get_content(g->bw);
switch (action) {