diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2016-01-15 19:58:24 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2016-01-15 19:58:24 +0000 |
commit | 673f3e6887586c31e3f2507c6fd021c1e2c07209 (patch) | |
tree | d61f5ec4439eefa6d9c61f3b3435ac26da1835f9 /amiga/history_local.c | |
parent | 6ad939b5a6e7807eaad78d5b2e0486c859740cf3 (diff) | |
download | netsurf-673f3e6887586c31e3f2507c6fd021c1e2c07209.tar.gz netsurf-673f3e6887586c31e3f2507c6fd021c1e2c07209.tar.bz2 |
Fix some old and new GCC errors/warnings
Diffstat (limited to 'amiga/history_local.c')
-rwxr-xr-x | amiga/history_local.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/amiga/history_local.c b/amiga/history_local.c index 39456496c..20d54386f 100755 --- a/amiga/history_local.c +++ b/amiga/history_local.c @@ -190,7 +190,7 @@ static bool ami_history_click(struct history_window *hw, uint16 code) { int x, y; struct IBox *bbox; - ULONG width,height,xs,ys; + ULONG xs, ys; if(ami_gui_get_space_box(hw->objects[GID_BROWSER], &bbox) != NSERROR_OK) { warn_user("NoMemory", ""); @@ -202,9 +202,6 @@ static bool ami_history_click(struct history_window *hw, uint16 code) GetAttr(SCROLLER_Top,hw->objects[OID_VSCROLL],(ULONG *)&ys); y = hw->win->MouseY - bbox->Top + ys; - width=bbox->Width; - height=bbox->Height; - ami_gui_free_space_box(bbox); switch(code) |