diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2014-04-05 23:40:03 +0100 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2014-04-05 23:40:03 +0100 |
commit | 4ec70fd3a2e75a3295799a685bbeb4dbffcdc05d (patch) | |
tree | abfcf7cf380755833f03cfb81b28c560e9207674 /amiga | |
parent | 5bb5e2667df7459c288c3484d3539376a74a7c68 (diff) | |
download | netsurf-4ec70fd3a2e75a3295799a685bbeb4dbffcdc05d.tar.gz netsurf-4ec70fd3a2e75a3295799a685bbeb4dbffcdc05d.tar.bz2 |
Fix some more cppcheck unread/unusedVariable warnings
Diffstat (limited to 'amiga')
-rw-r--r-- | amiga/gui.c | 3 | ||||
-rw-r--r-- | amiga/print.c | 2 | ||||
-rw-r--r-- | amiga/theme.c | 1 |
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); |