13
0

Remove a variable that is never read

This commit is contained in:
Robin Gareus 2021-01-29 01:09:41 +01:00
parent 9b4d330285
commit a985a3d184
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 0 additions and 4 deletions

View File

@ -64,7 +64,6 @@ PannerUI::PannerUI (Session* s)
{ {
set_session (s); set_session (s);
ignore_toggle = false;
pan_menu = 0; pan_menu = 0;
pan_astate_menu = 0; pan_astate_menu = 0;
pan_astyle_menu = 0; pan_astyle_menu = 0;
@ -547,9 +546,7 @@ PannerUI::pan_automation_state_changed ()
bool x = (pannable->automation_state() != ARDOUR::Off); bool x = (pannable->automation_state() != ARDOUR::Off);
if (pan_automation_state_button.get_active() != x) { if (pan_automation_state_button.get_active() != x) {
ignore_toggle = true;
pan_automation_state_button.set_active (x); pan_automation_state_button.set_active (x);
ignore_toggle = false;
} }
update_pan_sensitive (); update_pan_sensitive ();

View File

@ -89,7 +89,6 @@ private:
PBD::ScopedConnectionList connections; PBD::ScopedConnectionList connections;
PBD::ScopedConnectionList _pan_control_connections; PBD::ScopedConnectionList _pan_control_connections;
bool ignore_toggle;
bool in_pan_update; bool in_pan_update;
int _current_nouts; int _current_nouts;
int _current_nins; int _current_nins;