mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-09 02:38:46 +00:00
Remove an unused assignment.
Issue found by cppcheck.
This commit is contained in:
parent
be2403a93b
commit
c97f67c18b
@ -239,7 +239,6 @@ editor_action* brush_drag_mouse_action::drag_generic(editor_display& disp, int x
|
||||
map_location hex = disp.hex_clicked_on(x, y);
|
||||
move(disp, hex);
|
||||
if (hex != previous_drag_hex_) {
|
||||
std::set<map_location> current_step_locs = affected_hexes(disp, hex);
|
||||
editor_action_extendable* last_undo_x = dynamic_cast<editor_action_extendable*>(last_undo);
|
||||
LOG_ED << "Last undo is " << last_undo << " and as x " << last_undo_x << "\n";
|
||||
partial = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user