Removed an unused variable.

This commit is contained in:
Mark de Wever 2009-01-22 20:18:00 +00:00
parent 431e753267
commit a3f4379eee

View file

@ -411,7 +411,6 @@ void connect::side::process_event()
parent_->sides_[drop_target].update_ui();
}
else if(combo_controller_->changed() && combo_controller_->selected() >= 0) {
const int cntr_boundary = parent_->local_only_ ? 1 : 0;
const int cntr_last = (save_id_.empty() ? CNTR_LAST-1 : CNTR_LAST) - (parent_->local_only_ ? 1 : 0);
if (combo_controller_->selected() == cntr_last) {
update_controller_ui();