aboutsummaryrefslogtreecommitdiff
path: root/core/pool_allocator.cpp
diff options
context:
space:
mode:
authorRémi Verschelde2016-07-09 14:33:30 +0200
committerGitHub2016-07-09 14:33:30 +0200
commit3a70d4a072fa170ae927e2b416861ccd395f92d2 (patch)
tree0e5a9055880d02055dcc4e00dea1c8b5d9848ba9 /core/pool_allocator.cpp
parent0e119a91640acbc7643ff1dd1049bf12ca302d21 (diff)
parentf40f360a2c4ca8e6f2a651dbcca3ae82e2abe7a1 (diff)
downloadgodot-3a70d4a072fa170ae927e2b416861ccd395f92d2.tar.gz
godot-3a70d4a072fa170ae927e2b416861ccd395f92d2.tar.zst
godot-3a70d4a072fa170ae927e2b416861ccd395f92d2.zip
Merge pull request #5589 from akien-mga/pr-unused-var
Removing some more unused vars and dead code
Diffstat (limited to '')
-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) {