From 5ec07ef31ff972dbe3c3be3fdaab4ab8aad9512c Mon Sep 17 00:00:00 2001 From: Yehonal Date: Mon, 18 Sep 2017 03:16:32 +0200 Subject: Removed more warnings, mostly related to unused-variable issue #121 We still have to work on unused-parameter --- src/game/AI/SmartScripts/SmartScript.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/game/AI/SmartScripts/SmartScript.cpp') diff --git a/src/game/AI/SmartScripts/SmartScript.cpp b/src/game/AI/SmartScripts/SmartScript.cpp index 960cde20af..0bcdeb1d2f 100644 --- a/src/game/AI/SmartScripts/SmartScript.cpp +++ b/src/game/AI/SmartScripts/SmartScript.cpp @@ -4202,7 +4202,6 @@ void SmartScript::OnInitialize(WorldObject* obj, AreaTriggerEntry const* at) GetScript();//load copy of script - const SpellInfo* spellInfo = NULL; uint32 maxDisableDist = 0; uint32 minEnableDist = 0; for (SmartAIEventList::iterator i = mEvents.begin(); i != mEvents.end(); ++i) -- cgit v1.2.3