Skip to content

Commit

Permalink
fix sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
mehah committed Nov 9, 2024
1 parent 83fe311 commit fde69e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/creatures/creature.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ class Creature : virtual public Thing, public SharedObject {

virtual void turnToCreature(const std::shared_ptr<Creature> &creature);

void onAddTileItem(const std::shared_ptr<Tile> &tile, const Position &pos) { }
void onAddTileItem(const std::shared_ptr<Tile> & /*tile*/, const Position & /*pos*/) { }
virtual void onUpdateTileItem(const std::shared_ptr<Tile> &tile, const Position &pos, const std::shared_ptr<Item> &oldItem, const ItemType &oldType, const std::shared_ptr<Item> &newItem, const ItemType &newType) { }
virtual void onRemoveTileItem(const std::shared_ptr<Tile> &tile, const Position &pos, const ItemType &iType, const std::shared_ptr<Item> &item) { }

Expand Down
2 changes: 1 addition & 1 deletion src/creatures/monsters/monster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1014,7 +1014,7 @@ void Monster::onAddCondition(ConditionType_t type) {
onConditionStatusChange(type);
}

void Monster::onConditionStatusChange(ConditionType_t type) {
void Monster::onConditionStatusChange(ConditionType_t /*type*/) {
updateIdleStatus();
}

Expand Down

0 comments on commit fde69e4

Please sign in to comment.