mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Misc: Fix issues reported by static analysis
(cherry picked from commit 33dace231c)
This commit is contained in:
@@ -228,6 +228,7 @@ void GroupMgr::LoadGroups()
|
||||
Field* fields = result->Fetch();
|
||||
Group* group = GetGroupByDbStoreId(fields[0].GetUInt32());
|
||||
// group will never be NULL (we have run consistency sql's before loading)
|
||||
ASSERT(group);
|
||||
|
||||
MapEntry const* mapEntry = sMapStore.LookupEntry(fields[1].GetUInt16());
|
||||
if (!mapEntry || !mapEntry->IsDungeon())
|
||||
|
||||
Reference in New Issue
Block a user