Skip to content

Commit

Permalink
player: fix -Wunused-parameter warning
Browse files Browse the repository at this point in the history
Fixes

  ../engine/player/sc_player.cpp:2990:47: warning: unused parameter 'a' [-Wunused-parameter]
  void player_t::action_init_finished(action_t& a)
                                                ^

with clang HEAD.
  • Loading branch information
nuoHep committed Apr 17, 2020
1 parent 726df2a commit 70fe6a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/player/sc_player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2987,7 +2987,7 @@ void player_t::init_finished()
}
}

void player_t::action_init_finished(action_t& a)
void player_t::action_init_finished(action_t&)
{
// here could be generic affected_by code
}
Expand Down

0 comments on commit 70fe6a4

Please sign in to comment.