Remove unused variables (fourth pass) + dead code

Also fix a potential regression from 3fcb9b1ec1.
This commit is contained in:
Rémi Verschelde 2016-07-08 00:32:28 +02:00
parent d8c31e0e74
commit f40f360a2c
32 changed files with 12 additions and 175 deletions

View file

@ -372,7 +372,6 @@ Error PoolAllocator::resize(ID p_mem,int p_new_size) {
}
//p_new_size = align(p_new_size)
int _total = pool_size; // - static_area_size;
int _free = free_mem; // - static_area_size;
if ((_free + aligned(e->len)) - alloc_size < 0) {