mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-28 23:53:52 +00:00
Remove some do-nothing code.
This commit is contained in:
parent
c3c2f5c3b7
commit
86089f2ba4
@ -92,8 +92,6 @@ private:
|
||||
|
||||
gui::dialog_button_action::RESULT delete_recall_unit::button_pressed(int menu_selection)
|
||||
{
|
||||
const std::vector<std::pair<int, int> >& param = std::vector<std::pair<int, int> >();
|
||||
param.back();
|
||||
const size_t index = size_t(filter_.get_index(menu_selection));
|
||||
if(index < units_.size()) {
|
||||
const unit &u = *(units_[index]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user