mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-12 22:24:58 +03:00
fix unix build warnings
This commit is contained in:
parent
d1d65fbca4
commit
9d6a5acb22
6 changed files with 10 additions and 8 deletions
1
src/os.c
1
src/os.c
|
@ -914,7 +914,6 @@ void* _mi_os_alloc_huge_os_pages(size_t pages, int numa_node, double max_secs, s
|
|||
size_t page;
|
||||
for (page = 0; page < pages; page++) {
|
||||
// allocate a page
|
||||
bool is_large = true;
|
||||
void* addr = start + (page * MI_HUGE_OS_PAGE_SIZE);
|
||||
void* p = mi_os_alloc_huge_os_pagesx(addr, MI_HUGE_OS_PAGE_SIZE, numa_node);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue