From 65f096555d68c11fbefc11b7561189c70f0ce183 Mon Sep 17 00:00:00 2001 From: Amer Koleci Date: Tue, 5 Feb 2019 18:47:08 +0100 Subject: [PATCH] Remove unused freeSpaceBlockSize variable. --- src/vk_mem_alloc.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/vk_mem_alloc.h b/src/vk_mem_alloc.h index 30181f2..914399a 100644 --- a/src/vk_mem_alloc.h +++ b/src/vk_mem_alloc.h @@ -12978,7 +12978,6 @@ VkResult VmaDefragmentationAlgorithm_Fast::Defragment( size_t freeSpaceOrigBlockIndex = m_BlockInfos[freeSpaceInfoIndex].origBlockIndex; VmaDeviceMemoryBlock* pFreeSpaceBlock = m_pBlockVector->GetBlock(freeSpaceOrigBlockIndex); VmaBlockMetadata_Generic* pFreeSpaceMetadata = (VmaBlockMetadata_Generic*)pFreeSpaceBlock->m_pMetadata; - VkDeviceSize freeSpaceBlockSize = pFreeSpaceMetadata->GetSize(); // Same block if(freeSpaceInfoIndex == srcBlockInfoIndex)