1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2024-12-22 17:47:38 +08:00

fix unused variable in utlblockmemory.h

This commit is contained in:
Maksim Smolin 2019-01-22 17:08:41 -08:00
parent a0c8c381af
commit b6a573013e

View File

@ -337,7 +337,6 @@ void CUtlBlockMemory<T,I>::Purge( int numElements )
}
int nBlockSize = NumElementsInBlock();
int nBlocksOld = m_nBlocks;
int nBlocks = ( numElements + nBlockSize - 1 ) / nBlockSize;
// If the number of blocks is the same as the allocated number of blocks, we are done.