mirror of
https://github.com/MariaDB/server.git
synced 2026-05-06 15:15:34 +02:00
InnoDB: Remove compiler warnings.
innobase/os/os0proc.c: Add UT_NOT_USED for parameters in dummy implementations of AWE functions. sql/ha_innodb.cc: Tweak casts to eliminate compiler warnings.
This commit is contained in:
parent
a5dd3d5d8f
commit
a11fc7341c
2 changed files with 12 additions and 3 deletions
|
|
@ -292,6 +292,9 @@ os_awe_allocate_physical_mem(
|
|||
|
||||
return(TRUE);
|
||||
#else
|
||||
UT_NOT_USED(n_megabytes);
|
||||
UT_NOT_USED(page_info);
|
||||
|
||||
return(FALSE);
|
||||
#endif
|
||||
}
|
||||
|
|
@ -349,6 +352,8 @@ os_awe_allocate_virtual_mem_window(
|
|||
|
||||
return(ptr);
|
||||
#else
|
||||
UT_NOT_USED(size);
|
||||
|
||||
return(NULL);
|
||||
#endif
|
||||
}
|
||||
|
|
@ -476,6 +481,10 @@ os_awe_map_physical_mem_to_window(
|
|||
|
||||
return(TRUE);
|
||||
#else
|
||||
UT_NOT_USED(ptr);
|
||||
UT_NOT_USED(n_mem_pages);
|
||||
UT_NOT_USED(page_info);
|
||||
|
||||
return(FALSE);
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue