1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-06-29 11:11:34 +00:00

Merge branch 'fix_warning' into 'master'

Fix unused-but-set-variable warning

See merge request OpenMW/openmw!3672
This commit is contained in:
Alexei Kotov 2023-12-23 06:57:17 +00:00
commit 44d3a40cbe

View file

@ -15,7 +15,6 @@ namespace ESM
void InventoryState::load(ESMReader& esm)
{
// obsolete
uint32_t index = 0;
while (esm.isNextSub("IOBJ"))
{
esm.skipHT<int32_t>();
@ -29,8 +28,6 @@ namespace ESM
continue;
mItems.push_back(state);
++index;
}
uint32_t itemsCount = 0;