Remove unused variables.

This commit is contained in:
Michael Drake 2014-05-19 17:47:16 +01:00
parent dff18de7cc
commit 2badf21a62

View File

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