mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
Remove compiler warnings
This commit is contained in:
parent
1732095b7d
commit
5773302ed8
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue