From 241670d2f61f970f984e907b74f94843c2e53f08 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sat, 8 Apr 2023 19:34:53 +0300 Subject: [PATCH 40/40] sdl2: Fix dead popup_tech_info() 'area' assignments See osdn #47811 Signed-off-by: Marko Lindqvist --- client/gui-sdl2/helpdlg.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/client/gui-sdl2/helpdlg.c b/client/gui-sdl2/helpdlg.c index 942ad0b67c..319d46b2aa 100644 --- a/client/gui-sdl2/helpdlg.c +++ b/client/gui-sdl2/helpdlg.c @@ -1939,8 +1939,6 @@ void popup_tech_info(Tech_type_id tech) help_dlg->end_widget_list = pwindow; - area = pwindow->area; - /* ------------------ */ /* Close button */ @@ -2017,8 +2015,6 @@ void popup_tech_info(Tech_type_id tech) store = (struct techs_buttons *)pwindow->data.ptr; dock = store->dock; - area = pwindow->area; - /* Selete any previous list entries */ if (dock != help_dlg->begin_widget_list) { del_group_of_widgets_from_gui_list(help_dlg->begin_widget_list, dock->prev); -- 2.39.2