From 5773302ed8b4834221a02db72a234fb13e0fa870 Mon Sep 17 00:00:00 2001 From: Mikael Ronstrom Date: Thu, 16 Oct 2008 20:07:50 +0200 Subject: Remove compiler warnings --- storage/innobase/mem/mem0pool.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'storage/innobase/mem') diff --git a/storage/innobase/mem/mem0pool.c b/storage/innobase/mem/mem0pool.c index d3b31747690..315f719ca09 100644 --- a/storage/innobase/mem/mem0pool.c +++ b/storage/innobase/mem/mem0pool.c @@ -330,6 +330,7 @@ mem_area_alloc( mem_pool_t* pool) /* in: memory pool */ { #ifdef UNIV_DISABLE_MEM_POOL + (void)pool; /* Remove compiler warning */ return malloc(size); #else /* UNIV_DISABLE_MEM_POOL */ mem_area_t* area; @@ -464,6 +465,7 @@ mem_area_free( mem_pool_t* pool) /* in: memory pool */ { #ifdef UNIV_DISABLE_MEM_POOL + (void)pool; /* Remove compiler warning */ free(ptr); #else /* UNIV_DISABLE_MEM_POOL */ mem_area_t* area; -- cgit v1.2.1