Core/Misc: Fix static analysis issues reported by Coverity Scan

(cherry picked from commit de88691e25)
This commit is contained in:
jackpoz
2019-06-28 22:18:30 +02:00
committed by Shauren
parent 88457030cc
commit 841630fcc3
9 changed files with 13 additions and 7 deletions

View File

@@ -948,6 +948,8 @@ Item* Guild::BankMoveItemData::StoreItem(CharacterDatabaseTransaction& trans, It
ItemPosCount pos(*itr);
++itr;
ASSERT(pItem);
TC_LOG_DEBUG("guild", "GUILD STORAGE: StoreItem tab = %u, slot = %u, item = %u, count = %u",
m_container, m_slotId, pItem->GetEntry(), pItem->GetCount());
pLastItem = _StoreItem(trans, pTab, pItem, pos, itr != m_vec.end());