Fix clang warning in test/alloc.h
This commit is contained in:
@ -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) {
|
||||
fprintf(stderr, "Memory leak detected, allocation count is %jd!\n",
|
||||
_alloc_count);
|
||||
|
Reference in New Issue
Block a user