summaryrefslogtreecommitdiff
path: root/src/game/AI/SmartScripts/SmartAI.cpp
diff options
context:
space:
mode:
authorYehonal <yehonal.azeroth@gmail.com>2017-09-18 14:23:26 +0200
committerYehonal <yehonal.azeroth@gmail.com>2017-09-18 14:23:26 +0200
commit2b2e299cccfa5b1294b53d8d6756a31d4216d237 (patch)
tree04cffa5a2e6c2d343442c22fae37624fb72d62be /src/game/AI/SmartScripts/SmartAI.cpp
parentaa87ec685b25846a3ce2e325151d1786235225f5 (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.cpp2
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)