@@ -54,7 +54,7 @@ struct SortFunctor : public std::binary_function<Soldier *, Soldier *, bool>
5454};
5555
5656#define GET_ATTRIB_STAT_FN (attrib ) \
57- int attrib##Stat(Game *game , Soldier *s) { return s->getCurrentStats ()->attrib ; }
57+ int attrib##Stat(Game *, Soldier *s) { return s->getCurrentStats ()->attrib ; }
5858GET_ATTRIB_STAT_FN (tu)
5959GET_ATTRIB_STAT_FN (stamina)
6060GET_ATTRIB_STAT_FN (health)
@@ -83,7 +83,7 @@ int psiSkillStat(Game *game, Soldier *s)
8383GET_ATTRIB_STAT_FN (melee)
8484#undef GET_ATTRIB_STAT_FN
8585#define GET_SOLDIER_STAT_FN (attrib, camelCaseAttrib ) \
86- int attrib##Stat(Game *game , Soldier *s) { return s->get ##camelCaseAttrib (); }
86+ int attrib##Stat(Game *, Soldier *s) { return s->get ##camelCaseAttrib (); }
8787GET_SOLDIER_STAT_FN (rank, Rank)
8888GET_SOLDIER_STAT_FN (missions, Missions)
8989GET_SOLDIER_STAT_FN (kills, Kills)
@@ -225,7 +225,7 @@ CraftSoldiersState::~CraftSoldiersState()
225225 * Sorts the soldiers list by the selected criterion
226226 * @param action Pointer to an action.
227227 */
228- void CraftSoldiersState::cbxSortByChange (Action *action )
228+ void CraftSoldiersState::cbxSortByChange (Action *)
229229{
230230 size_t selIdx = _cbxSortBy->getSelected ();
231231 if (selIdx == (size_t )-1 )
0 commit comments