From db3cda8bd9bff7084c9f0e3b9970a3aa67e7c669 Mon Sep 17 00:00:00 2001 From: michael Date: Tue, 25 Feb 2014 14:22:08 +0000 Subject: - 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 --- src/mempool.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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 -- cgit