Skip to content

Commit

Permalink
fix unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
gfgtdf committed Jan 6, 2016
1 parent e179908 commit 2e5dbee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/actions/undo_move_action.cpp
Expand Up @@ -41,7 +41,7 @@ void move_action::write(config & cfg) const
* Undoes this action.
* @return true on success; false on an error.
*/
bool move_action::undo(int side)
bool move_action::undo(int)
{
game_display & gui = *resources::screen;
unit_map & units = *resources::units;
Expand Down Expand Up @@ -85,7 +85,7 @@ bool move_action::undo(int side)
* Redoes this action.
* @return true on success; false on an error.
*/
bool move_action::redo(int side)
bool move_action::redo(int)
{
game_display & gui = *resources::screen;
unit_map & units = *resources::units;
Expand Down

0 comments on commit 2e5dbee

Please sign in to comment.