diff --git a/src/D3D12MemAlloc.cpp b/src/D3D12MemAlloc.cpp index 40f24a5..8aaaf91 100644 --- a/src/D3D12MemAlloc.cpp +++ b/src/D3D12MemAlloc.cpp @@ -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()) {