From e8838709ead12f026dfe5b241d047c40285d0580 Mon Sep 17 00:00:00 2001 From: Wolfgang Hommel Date: Sun, 8 May 2022 21:09:45 +0200 Subject: silence minor type warning in libmallocintercept.c --- test/libmallocintercept.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/libmallocintercept.c b/test/libmallocintercept.c index 0dc5af5..0cf5aeb 100644 --- a/test/libmallocintercept.c +++ b/test/libmallocintercept.c @@ -74,8 +74,7 @@ void *malloc(size_t size) { } void free(void *ptr) { - void *ptr2 = ptr + 1; - print_msg("Called free() from libmallocintercept..."); + print_msg("Called free() on %p from libmallocintercept...", ptr); poke_faketime(); print_msg("successfully\n"); -- cgit v1.2.1