summaryrefslogtreecommitdiff
path: root/amiga/gui.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2016-01-15 19:58:24 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2016-01-15 19:58:24 +0000
commit673f3e6887586c31e3f2507c6fd021c1e2c07209 (patch)
treed61f5ec4439eefa6d9c61f3b3435ac26da1835f9 /amiga/gui.c
parent6ad939b5a6e7807eaad78d5b2e0486c859740cf3 (diff)
downloadnetsurf-673f3e6887586c31e3f2507c6fd021c1e2c07209.tar.gz
netsurf-673f3e6887586c31e3f2507c6fd021c1e2c07209.tar.bz2
Fix some old and new GCC errors/warnings
Diffstat (limited to 'amiga/gui.c')
-rw-r--r--amiga/gui.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index 6744d997d..4490438c6 100644
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -1838,9 +1838,9 @@ static void ami_set_border_gadget_size(struct gui_window_2 *gwin)
{
#ifdef __amigaos4__
/* Reset gadget widths according to new calculation */
- ULONG size1, size2, sz;
+ ULONG size1, size2;
- sz = ami_get_border_gadget_size(gwin, &size1, &size2);
+ ami_get_border_gadget_size(gwin, &size1, &size2);
RefreshSetGadgetAttrs((struct Gadget *)(APTR)gwin->objects[GID_STATUS],
gwin->win, NULL,
@@ -4322,10 +4322,10 @@ gui_window_create(struct browser_window *bw,
if(nsoption_bool(kiosk_mode) == false)
{
#ifdef __amigaos4__
- ULONG sz, width, height;
+ ULONG width, height;
struct DrawInfo *dri = GetScreenDrawInfo(scrn);
- sz = ami_get_border_gadget_size(g->shared,
+ ami_get_border_gadget_size(g->shared,
(ULONG *)&width, (ULONG *)&height);
g->shared->objects[GID_STATUS] = NewObject(