diff options
author | Yehonal <yehonal.azeroth@gmail.com> | 2017-09-18 14:23:26 +0200 |
---|---|---|
committer | Yehonal <yehonal.azeroth@gmail.com> | 2017-09-18 14:23:26 +0200 |
commit | 2b2e299cccfa5b1294b53d8d6756a31d4216d237 (patch) | |
tree | 04cffa5a2e6c2d343442c22fae37624fb72d62be /src/game/AI/SmartScripts/SmartAI.cpp | |
parent | aa87ec685b25846a3ce2e325151d1786235225f5 (diff) |
Fixed all unused-parameters warnings
issue #121
used clang-tidy to achieve this
Diffstat (limited to 'src/game/AI/SmartScripts/SmartAI.cpp')
-rw-r--r-- | src/game/AI/SmartScripts/SmartAI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/AI/SmartScripts/SmartAI.cpp b/src/game/AI/SmartScripts/SmartAI.cpp index f8e6f26248..77044f0924 100644 --- a/src/game/AI/SmartScripts/SmartAI.cpp +++ b/src/game/AI/SmartScripts/SmartAI.cpp @@ -1054,7 +1054,7 @@ void SmartAI::sOnGameEvent(bool start, uint16 eventId) GetScript()->ProcessEventsFor(start ? SMART_EVENT_GAME_EVENT_START : SMART_EVENT_GAME_EVENT_END, NULL, eventId); } -void SmartAI::OnSpellClick(Unit* clicker, bool& result) +void SmartAI::OnSpellClick(Unit* clicker, bool& /*result*/) { // Xinef: i dont think this is necessery (can be made as event parameter) //if (!result) |