mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-19 13:39:31 +03:00
tagging mi_is_get_aligned_hint as unused for now
This commit is contained in:
parent
1de6c22b49
commit
7fe118297b
1 changed files with 2 additions and 1 deletions
3
src/os.c
3
src/os.c
|
@ -441,7 +441,8 @@ static void* mi_os_get_aligned_hint(size_t try_alignment, size_t size) {
|
||||||
return (void*)hint;
|
return (void*)hint;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static void* mi_os_get_aligned_hint(size_t try_alignment, size_t size) {
|
// Disabled at the moment, not used anywhere by oses not supporting map aligned flag
|
||||||
|
static void* __attribute__((unused)) mi_os_get_aligned_hint(size_t try_alignment, size_t size) {
|
||||||
UNUSED(try_alignment); UNUSED(size);
|
UNUSED(try_alignment); UNUSED(size);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue