Core: Remove lots warnings:
- All "'xxx' will be initialized after 'yyy' when initialized here" - Some "unused variable" - Some "enumeration value 'xxx' not handled in switch" --HG-- branch : trunk
This commit is contained in:
@@ -731,8 +731,8 @@ namespace Trinity
|
||||
|
||||
SpellNotifierCreatureAndPlayer(Unit *source, std::list<Unit*> &data, float radius, SpellNotifyPushType type,
|
||||
SpellTargets TargetType = SPELL_TARGETS_ENEMY, const Position *pos = NULL, uint32 entry = 0)
|
||||
: i_source(source), i_data(&data), i_radius(radius), i_push_type(type)
|
||||
, i_TargetType(TargetType), i_pos(pos), i_entry(entry)
|
||||
: i_data(&data), i_push_type(type), i_radius(radius), i_TargetType(TargetType),
|
||||
i_source(source), i_entry(entry), i_pos(pos)
|
||||
{
|
||||
ASSERT(i_source);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user