memory/mempool: fix warning
This commit is contained in:
parent
0fe465522f
commit
3dc8624265
1 changed files with 1 additions and 1 deletions
|
@ -32,6 +32,6 @@ void mempool_generic_release(MemPool *pool, void *object) {
|
|||
pool->free_objects.as_generic = obj;
|
||||
|
||||
--pool->num_used;
|
||||
assert(pool->num_used >= 0);
|
||||
assert(pool->num_used + 1 > pool->num_used);
|
||||
assert(pool->num_used <= pool->num_allocated);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue