microsoft / mimalloc

mimalloc is a compact general purpose allocator with excellent performance.
MIT License
10.45k stars 843 forks source link

Unused variable from heap alloc code #837

Open anthonyalayo opened 8 months ago

anthonyalayo commented 8 months ago

Hey there,

I'm seeing the following warning on AppleClang:

src/alloc-aligned.c:162:14: warning: unused variable '_mi_heap_malloc_aligned' [-Wunused-variable]

I tried to pass in some CMAKE_CXX_FLAGS to fix it myself, but it looks like that doesn't work based on how the code was written.