Remove unused 'sumBlockSize' variable

This commit is contained in:
Daniel Krupiński 2021-09-17 17:49:05 +02:00
parent 3ef73a8343
commit 85066e0554

View File

@ -4066,7 +4066,6 @@ void BlockVector::Free(Allocation* hAllocation)
D3D12MA_HEAVY_ASSERT(pBlock->Validate());
const size_t blockCount = m_Blocks.size();
const UINT64 sumBlockSize = CalcSumBlockSize();
// pBlock became empty after this deallocation.
if(pBlock->m_pMetadata->IsEmpty())
{