Core: Fix many "errors"/warnings and coding style (3)
Game Errors were found using Cppcheck, open-source static analysis tool
This commit is contained in:
1 parent
abbb896cfb
commit
e3d9768a50
28 files changed
+72
-105
No files matched your search
@@ -87,7 +87,7 @@ SpellDestination::SpellDestination(WorldObject const& wObj)
|
||||
}
|
||||
|
||||
|
||||
SpellCastTargets::SpellCastTargets() : m_elevation(0), m_speed(0)
|
||||
SpellCastTargets::SpellCastTargets() : m_elevation(0), m_speed(0), m_strTarget()
|
||||
{
|
||||
m_objectTarget = NULL;
|
||||
m_itemTarget = NULL;
|
||||
@@ -96,7 +96,6 @@ SpellCastTargets::SpellCastTargets() : m_elevation(0), m_speed(0)
|
||||
m_itemTargetGUID = 0;
|
||||
m_itemTargetEntry = 0;
|
||||
|
||||
m_strTarget = "";
|
||||
m_targetMask = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user