fix unix build warnings

This commit is contained in:
daan 2019-11-03 13:34:54 -08:00
parent d1d65fbca4
commit 9d6a5acb22
6 changed files with 10 additions and 8 deletions

View file

@ -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);