mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-26 08:19:55 +03:00
Fix some more cppcheck unread/unusedVariable warnings
This commit is contained in:
parent
5bb5e2667d
commit
4ec70fd3a2
@ -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;
|
||||
|
@ -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)
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user