From 2badf21a62dc351eacefdb80bc57f0ae2fc45dc9 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 19 May 2014 17:47:16 +0100 Subject: [PATCH] Remove unused variables. --- atari/gui.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/atari/gui.c b/atari/gui.c index 98871f084..7357aaeb3 100644 --- a/atari/gui.c +++ b/atari/gui.c @@ -118,7 +118,6 @@ static void gui_poll(bool active) struct gui_window *tmp; short mx, my, dummy; - unsigned short nkc = 0; aes_event_in.emi_tlow = schedule_run(); @@ -131,8 +130,6 @@ static void gui_poll(bool active) printf("long poll!\n"); } - struct gui_window * g; - if( !active ) { if(input_window && input_window->root->redraw_slots.areas_used > 0) { window_process_redraws(input_window->root); @@ -396,7 +393,6 @@ static void gui_window_update_box(struct gui_window *gw, const struct rect *rect bool gui_window_get_scroll(struct gui_window *w, int *sx, int *sy) { - int x,y; if (w == NULL) return false; @@ -407,7 +403,6 @@ bool gui_window_get_scroll(struct gui_window *w, int *sx, int *sy) static void gui_window_set_scroll(struct gui_window *w, int sx, int sy) { - int units = 0; if ((w == NULL) || (w->browser->bw == NULL) || (w->browser->bw->current_content == NULL)) @@ -744,8 +739,6 @@ static void gui_cert_verify(nsurl *url, const struct ssl_cert_info *certs, struct sslcert_session_data *data; LOG(("")); - bool bres; - // TODO: localize string int b = form_alert(1, "[2][SSL Verify failed, continue?][Continue|Abort|Details...]"); if(b == 1){