diff options
author | Mikael Ronstrom <mikael@mysql.com> | 2008-10-16 20:07:50 +0200 |
---|---|---|
committer | Mikael Ronstrom <mikael@mysql.com> | 2008-10-16 20:07:50 +0200 |
commit | 5773302ed8b4834221a02db72a234fb13e0fa870 (patch) | |
tree | 2aa94428583bef9c341773bc3048a977fb5d0bfb | |
parent | 1732095b7dc4026a0bb25d6b612d15c3f3ff28b7 (diff) | |
download | mariadb-git-5773302ed8b4834221a02db72a234fb13e0fa870.tar.gz |
Remove compiler warnings
-rw-r--r-- | storage/innobase/mem/mem0pool.c | 2 |
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; |