Core&Scripts: Fix clang compiler warnings

This commit is contained in:
Nay
2013-08-27 21:30:33 +01:00
parent e5dc70118a
commit 78786c7b54
15 changed files with 22 additions and 40 deletions

View File

@@ -158,8 +158,7 @@ public:
DialogueHelper(DialogueEntry const* dialogueArray) :
_dialogueArray(dialogueArray),
_currentEntry(NULL),
_actionTimer(0),
_isFirstSide(true)
_actionTimer(0)
{}
// The array MUST be terminated by {0, 0, 0, 0, 0}
@@ -237,7 +236,6 @@ private:
DialogueEntry const* _currentEntry;
uint32 _actionTimer;
bool _isFirstSide;
};
const DialogueEntry introDialogue[] =

View File

@@ -882,8 +882,6 @@ class npc_halion_controller : public CreatureScript
InstanceScript* _instance;
SummonList _summons;
bool _corporealityCheck;
uint32 _twilightDamageTaken;
uint32 _materialDamageTaken;
uint8 _materialCorporealityValue;

View File

@@ -419,8 +419,6 @@ class boss_anubarak_trial : public CreatureScript
uint64 _sphereGUID[6];
bool _intro;
bool _reachedPhase3;
uint32 _frostSphereTimer;
uint32 _berserkTimer;
};
CreatureAI* GetAI(Creature* creature) const OVERRIDE
@@ -579,7 +577,6 @@ class npc_nerubian_burrower : public CreatureScript
private:
uint32 _submergeTimer;
Phases _phase;
EventMap _events;
InstanceScript* _instance;
};

View File

@@ -1135,7 +1135,6 @@ class boss_icehowl : public CreatureScript
bool _movementFinish;
bool _trampleCasted;
uint8 _stage;
Unit* _target;
};
CreatureAI* GetAI(Creature* creature) const OVERRIDE

View File

@@ -845,7 +845,6 @@ public:
InstanceScript* instance;
EventMap events;
uint64 summonerGuid;
float distanceToShade;
bool startedBanishing;
bool switchToCombat;
};

View File

@@ -186,7 +186,6 @@ class boss_nazan : public CreatureScript
uint32 Turn_Timer;
bool flight;
uint64 VazrudenGUID;
SpellInfo* liquid_fire;
};
CreatureAI* GetAI(Creature* creature) const OVERRIDE