Skip to content

Commit ea0ff6b

Browse files
committed
Disable one more warning
1 parent e19e2dd commit ea0ff6b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • Objects/mimalloc/prim

‎Objects/mimalloc/prim/os.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ static void* mi_os_prim_alloc_aligned(mi_subproc_t* subproc, size_t size, size_t
388388
// if not aligned, free it, overallocate, and unmap around it
389389
#if !MI_TRACK_ASAN
390390
if (try_direct_alloc) {
391-
_mi_warning_message("unable to allocate aligned OS memory directly, fall back to over-allocation (size: 0x%zx bytes, address: %p, alignment: 0x%zx, commit: %d)\n", size, p, alignment, commit);
391+
// _mi_warning_message("unable to allocate aligned OS memory directly, fall back to over-allocation (size: 0x%zx bytes, address: %p, alignment: 0x%zx, commit: %d)\n", size, p, alignment, commit);
392392
}
393393
#endif
394394
if (p != NULL) { mi_os_prim_free(subproc, p, size, (commit ? size : 0), true /* adjust so we "forget" the previous reservation */); }

0 commit comments

Comments
 (0)