aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Tools/PlayerDump.cpp
diff options
context:
space:
mode:
authorariel- <ariel-@users.noreply.github.com>2018-01-22 23:55:33 -0300
committerariel- <ariel-@users.noreply.github.com>2018-01-22 23:55:33 -0300
commitc099174ff777d1bf5061f5cdc197ff17bd83fbb7 (patch)
treec48689319a23398682db06558e3633759d79614f /src/server/game/Tools/PlayerDump.cpp
parent7c9722a4ae08b5f283f6a085a411e37604a7da9f (diff)
Core/Misc: fix some /W4 warnings and some reported by GCC 6.3
Diffstat (limited to 'src/server/game/Tools/PlayerDump.cpp')
-rw-r--r--src/server/game/Tools/PlayerDump.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/server/game/Tools/PlayerDump.cpp b/src/server/game/Tools/PlayerDump.cpp
index d86e2989ef1..1c11121b94a 100644
--- a/src/server/game/Tools/PlayerDump.cpp
+++ b/src/server/game/Tools/PlayerDump.cpp
@@ -610,16 +610,16 @@ void PlayerDumpWriter::PopulateGuids(ObjectGuid::LowType guid)
switch (baseTable.StoredType)
{
case GUID_TYPE_ITEM:
- if (ObjectGuid::LowType guid = (*result)[0].GetUInt32())
- _items.insert(guid);
+ if (ObjectGuid::LowType itemLowGuid = (*result)[0].GetUInt32())
+ _items.insert(itemLowGuid);
break;
case GUID_TYPE_MAIL:
- if (ObjectGuid::LowType guid = (*result)[0].GetUInt32())
- _mails.insert(guid);
+ if (ObjectGuid::LowType mailLowGuid = (*result)[0].GetUInt32())
+ _mails.insert(mailLowGuid);
break;
case GUID_TYPE_PET:
- if (ObjectGuid::LowType guid = (*result)[0].GetUInt32())
- _pets.insert(guid);
+ if (ObjectGuid::LowType petLowGuid = (*result)[0].GetUInt32())
+ _pets.insert(petLowGuid);
break;
case GUID_TYPE_EQUIPMENT_SET:
if (uint64 eqSetId = (*result)[0].GetUInt64())