summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--amiga/gui.c3
-rw-r--r--amiga/print.c2
-rw-r--r--amiga/theme.c1
3 files changed, 1 insertions, 5 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index ab55bcf7c..c538525a9 100644
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -4290,7 +4290,6 @@ static void ami_do_redraw(struct gui_window_2 *gwin)
struct IBox *bbox;
ULONG oldh = gwin->oldh, oldv=gwin->oldv;
struct RastPort *temprp;
- hlcache_handle *c;
if(browser_window_redraw_ready(gwin->bw) == false) return;
@@ -4301,8 +4300,6 @@ static void ami_do_redraw(struct gui_window_2 *gwin)
gwin->bw->window->scrollx = hcurrent;
gwin->bw->window->scrolly = vcurrent;
- c = gwin->bw->current_content;
-
width=bbox->Width;
height=bbox->Height;
xoffset=bbox->Left;
diff --git a/amiga/print.c b/amiga/print.c
index 93dde35f7..66e5a558c 100644
--- a/amiga/print.c
+++ b/amiga/print.c
@@ -375,7 +375,7 @@ BOOL ami_print_event(struct ami_print_window *pw)
void ami_print(struct hlcache_handle *c, int copies)
{
- double height, print_height;
+ double height;
float scale = nsoption_int(print_scale) / 100.0;
if(ami_print_info.msgport == NULL)
diff --git a/amiga/theme.c b/amiga/theme.c
index 054d46521..1e9640fee 100644
--- a/amiga/theme.c
+++ b/amiga/theme.c
@@ -156,7 +156,6 @@ void ami_theme_init(void)
void ami_theme_throbber_setup(void)
{
char throbberfile[1024];
- Object *dto;
struct bitmap *bm;
ami_get_theme_filename(throbberfile,"theme_throbber",false);