Fix some Coverity warnings

This commit is contained in:
Andrei Kortunov 2023-07-28 14:01:40 +04:00
parent 81deb3796b
commit d8ec78d732
17 changed files with 18 additions and 5 deletions

View file

@ -19,6 +19,7 @@ namespace ESSImport
item.mCount = contItem.mCount;
item.mRelativeEquipmentSlot = -1;
item.mLockLevel = 0;
item.mChargeIntRemainder = 0;
unsigned int itemCount = std::abs(item.mCount);
bool separateStacks = false;