Fix some more cppcheck unread/unusedVariable warnings

This commit is contained in:
Chris Young 2014-04-05 23:40:03 +01:00
parent 5bb5e2667d
commit 4ec70fd3a2
3 changed files with 1 additions and 5 deletions

View File

@ -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;

View File

@ -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)

View File

@ -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);