diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-02-25 14:22:08 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-02-25 14:22:08 +0000 |
commit | db3cda8bd9bff7084c9f0e3b9970a3aa67e7c669 (patch) | |
tree | 84fecb9e3a085746f87d11e6de1657ad6d67ad7e /src/mempool.c | |
parent | f5898ad96a08d213ba1e42173c90281973747648 (diff) |
- mempool.c: ifdef out destroy_chunks()
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3035 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'src/mempool.c')
-rw-r--r-- | src/mempool.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mempool.c b/src/mempool.c index bd62e49..c88e7ba 100644 --- a/src/mempool.c +++ b/src/mempool.c @@ -574,6 +574,7 @@ mp_pool_clean(mp_pool_t *pool, int n_to_keep, int keep_recently_used) *first_to_free = NULL; } +#if 0 /** Helper: Given a list of chunks, free all the chunks in the list. */ static void destroy_chunks(mp_chunk_t *chunk) @@ -587,6 +588,7 @@ destroy_chunks(mp_chunk_t *chunk) chunk = next; } } +#endif /** Helper: make sure that a given chunk list is not corrupt. */ static int |