From 7cb7879427b67edf608ff1768cc1440373348cc2 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 16 Nov 2014 14:25:31 +0000 Subject: [PATCH] Remove a loop which appears to do nothing --- amiga/gui.c | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/amiga/gui.c b/amiga/gui.c index 12b76273c..d52df1f91 100644 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -2374,26 +2374,9 @@ static void ami_handle_msg(void) case WMHI_NEWSIZE: switch(node->Type) { - struct Node *tab = NULL, *ntab = NULL; - struct gui_window *gw = NULL; - case AMINS_WINDOW: ami_set_border_gadget_size(gwin); ami_throbber_redraw_schedule(0, gwin->bw->window); - - if(gwin->tabs) - { - tab = GetHead(&gwin->tab_list); - - do - { - ntab=GetSucc(tab); - GetClickTabNodeAttrs(tab, - TNA_UserData, &gw, - TAG_DONE); - } while((tab=ntab)); - } - ami_schedule(0, ami_gui_refresh_favicon, gwin); browser_window_schedule_reformat(gwin->bw); ami_schedule_redraw(gwin, true);