Fix clang warning in test/alloc.h

This commit is contained in:
2025-09-05 20:16:46 -07:00
parent 12e3923938
commit 814234603d

View File

@ -48,7 +48,7 @@ static UNUSED void counting_free(void *ptr) {
} }
} }
static UNUSED void check_allocator_status() { static UNUSED void check_allocator_status(void) {
if (_alloc_count > 0) { if (_alloc_count > 0) {
fprintf(stderr, "Memory leak detected, allocation count is %jd!\n", fprintf(stderr, "Memory leak detected, allocation count is %jd!\n",
_alloc_count); _alloc_count);