Core: Adjust parameter output values to avoid excessive warning outputs on GCC and some other minor warnings
This commit is contained in:
@@ -16980,7 +16980,7 @@ void Unit::ChangeSeat(int8 seatId, bool next)
|
||||
ASSERT(false);
|
||||
}
|
||||
|
||||
void Unit::ExitVehicle(Position const* exitPosition)
|
||||
void Unit::ExitVehicle(Position const* /*exitPosition*/)
|
||||
{
|
||||
//! This function can be called at upper level code to initialize an exit from the passenger's side.
|
||||
if (!m_vehicle)
|
||||
|
||||
@@ -769,7 +769,7 @@ class spell_dk_death_grip : public SpellScriptLoader
|
||||
{
|
||||
PrepareSpellScript(spell_dk_death_grip_SpellScript);
|
||||
|
||||
void HandleDummy(SpellEffIndex effIndex)
|
||||
void HandleDummy(SpellEffIndex /*effIndex*/)
|
||||
{
|
||||
int32 damage = GetEffectValue();
|
||||
Position const* pos = GetTargetDest();
|
||||
|
||||
@@ -33,7 +33,6 @@ class ByteBufferException
|
||||
}
|
||||
|
||||
protected:
|
||||
|
||||
size_t Pos;
|
||||
size_t Size;
|
||||
size_t ValueSize;
|
||||
@@ -52,7 +51,7 @@ class ByteBufferPositionException : public ByteBufferException
|
||||
void PrintError() const
|
||||
{
|
||||
sLog->outError("Attempted to %s value with size: "SIZEFMTD" in ByteBuffer (pos: " SIZEFMTD " size: "SIZEFMTD") " ,
|
||||
ValueSize, (_add ? "put" : "get"), Pos, Size);
|
||||
(_add ? "put" : "get"), ValueSize, Pos, Size);
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user