From: Antoine Fontaine Date: Sun, 21 Mar 2021 12:20:35 +0000 (+0100) Subject: radiant/preferences: Remove unused variable X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a51e5316431880ab9f6489ebc9e588597d7559ed;p=xonotic%2Fnetradiant.git radiant/preferences: Remove unused variable --- diff --git a/radiant/preferences.cpp b/radiant/preferences.cpp index 3cfc420c..6fca8c12 100644 --- a/radiant/preferences.cpp +++ b/radiant/preferences.cpp @@ -705,8 +705,6 @@ ui::Window PrefsDlg::BuildDialog(){ PreferencesDialog_addInterfacePreferences( makeCallbackF(Interface_constructPreferences) ); Mouse_registerPreferencesPage(); - ui::Window main_window = MainFrame_getWindow(); - ui::Window dialog = ui::Window(create_floating_window( RADIANT_NAME " Preferences", m_parent )); gtk_window_set_transient_for( dialog, m_parent );