Merge pull request #22 from danielkrupinski/unused-variable

Remove unused 'sumBlockSize' variable
This commit is contained in:
Adam Sawicki 2021-09-20 20:23:37 +02:00 committed by GitHub
commit c8d269e89a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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())
{