aboutsummaryrefslogtreecommitdiff
path: root/core/pool_allocator.cpp
diff options
context:
space:
mode:
authorRémi Verschelde2016-07-08 00:32:28 +0200
committerRémi Verschelde2016-07-08 16:47:55 +0200
commitf40f360a2c4ca8e6f2a651dbcca3ae82e2abe7a1 (patch)
treeef86e39ca4ee986c5ca2888dc96cdfa145a6c2ce /core/pool_allocator.cpp
parentd8c31e0e7480906ccf230892b090e3c3cbe1b271 (diff)
downloadgodot-f40f360a2c4ca8e6f2a651dbcca3ae82e2abe7a1.tar.gz
godot-f40f360a2c4ca8e6f2a651dbcca3ae82e2abe7a1.tar.zst
godot-f40f360a2c4ca8e6f2a651dbcca3ae82e2abe7a1.zip
Diffstat (limited to 'core/pool_allocator.cpp')
-rw-r--r--core/pool_allocator.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/pool_allocator.cpp b/core/pool_allocator.cpp
index 849fd75f5..9f5fcf5f5 100644
--- a/core/pool_allocator.cpp
+++ b/core/pool_allocator.cpp
@@ -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) {