summaryrefslogtreecommitdiff
path: root/storage/innobase/mem
diff options
context:
space:
mode:
authorMikael Ronstrom <mikael@mysql.com>2008-10-16 20:07:50 +0200
committerMikael Ronstrom <mikael@mysql.com>2008-10-16 20:07:50 +0200
commit5773302ed8b4834221a02db72a234fb13e0fa870 (patch)
tree2aa94428583bef9c341773bc3048a977fb5d0bfb /storage/innobase/mem
parent1732095b7dc4026a0bb25d6b612d15c3f3ff28b7 (diff)
downloadmariadb-git-5773302ed8b4834221a02db72a234fb13e0fa870.tar.gz
Remove compiler warnings
Diffstat (limited to 'storage/innobase/mem')
-rw-r--r--storage/innobase/mem/mem0pool.c2
1 files changed, 2 insertions, 0 deletions
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;