From 85066e0554163d153afb7ccae710835bf923dce6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Krupi=C5=84ski?= Date: Fri, 17 Sep 2021 17:49:05 +0200 Subject: [PATCH] Remove unused 'sumBlockSize' variable --- src/D3D12MemAlloc.cpp | 1 - 1 file changed, 1 deletion(-) 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()) {