aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2014-05-12 21:18:59 +0200
committerjackpoz <giacomopoz@gmail.com>2014-05-12 21:18:59 +0200
commitb17e3246fe769e6dc388612d5764150a184aef07 (patch)
treea487758ff2751e01f932f6c6f92fd414b7594310 /src/server/scripts
parent0334c21394c05b8323dfd4433d1e1177d182baa3 (diff)
Core/Misc: Fix static analysis issues
Fix uninitialized values spotted by coverity. Remove unused "dynamic analysis" code, use Valgrind or another dynamic analysis tool instead if needed.
Diffstat (limited to 'src/server/scripts')
-rw-r--r--src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/halls_of_reflection.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/halls_of_reflection.cpp b/src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/halls_of_reflection.cpp
index 7366ba32bdf..0c5514a1c0a 100644
--- a/src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/halls_of_reflection.cpp
+++ b/src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/halls_of_reflection.cpp
@@ -347,6 +347,8 @@ class npc_jaina_or_sylvanas_intro_hor : public CreatureScript
npc_jaina_or_sylvanas_intro_horAI(Creature* creature) : ScriptedAI(creature)
{
_instance = me->GetInstanceScript();
+ _utherGUID = 0;
+ _lichkingGUID = 0;
}
void sGossipSelect(Player* player, uint32 /*menuId*/, uint32 gossipListId) override