From: Paul Floyd Date: Fri, 10 Mar 2023 17:39:05 +0000 (+0100) Subject: darwin regtest: fix unused variable warning X-Git-Tag: VALGRIND_3_21_0~124 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=c2a0cd6e11670a80975bb83a740a006233f58075;p=valgrind.git darwin regtest: fix unused variable warning Copied and paster from old posix_memalign test --- diff --git a/memcheck/tests/darwin/aligned_alloc.c b/memcheck/tests/darwin/aligned_alloc.c index f8d580538f..1c2fdb78cb 100644 --- a/memcheck/tests/darwin/aligned_alloc.c +++ b/memcheck/tests/darwin/aligned_alloc.c @@ -4,7 +4,6 @@ int main(void) { char* p = NULL; - int res; // zero size p = aligned_alloc(0, 8);