Skip to content

Commit

Permalink
fix warning (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyeriah authored Sep 6, 2023
1 parent 4b0e232 commit 422bc57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mod-double-xp-weekend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class DoubleXpWeekend : public PlayerScript
}
}

void OnGiveXP(Player* player, uint32& amount, Unit* victim, uint8 xpSource) override
void OnGiveXP(Player* player, uint32& amount, Unit* /*victim*/, uint8 xpSource) override
{
if (!IsEventActive())
{
Expand Down

1 comment on commit 422bc57

@svenbledt
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe also

/xpSource/

Please sign in to comment.