remove unused local warning

This commit is contained in:
daan 2020-09-05 22:03:47 -07:00
parent f3f8afb580
commit 1b571aea06

View File

@ -625,6 +625,7 @@ void _mi_os_free(void* p, size_t size, mi_stats_t* stats) {
void* _mi_os_alloc_aligned(size_t size, size_t alignment, bool commit, bool* large, mi_os_tld_t* tld)
{
UNUSED(tld);
if (size == 0) return NULL;
size = _mi_os_good_alloc_size(size);
alignment = _mi_align_up(alignment, _mi_os_page_size());