void function should not return anything

Found by GCC 16 (-Wpedantic).
This commit is contained in:
Christoph Grüninger 2026-05-19 21:48:05 +02:00
parent 6b24522545
commit c09aebe791
2 changed files with 3 additions and 3 deletions

View file

@ -1059,7 +1059,7 @@ je_free_sized(void *ptr, size_t size) {
JEMALLOC_EXPORT void JEMALLOC_NOTHROW
je_free_aligned_sized(void *ptr, size_t alignment, size_t size) {
return je_sdallocx(ptr, size, /* flags */ MALLOCX_ALIGN(alignment));
je_sdallocx(ptr, size, /* flags */ MALLOCX_ALIGN(alignment));
}
/*