From 00c631c58e8fe1ba01488ae0b92a0dd52c5ef228 Mon Sep 17 00:00:00 2001 From: David Chisnall Date: Thu, 2 Aug 2018 10:09:12 +0100 Subject: [PATCH] Fix a bug in a test. --- Test/objc_msgSend.m | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Test/objc_msgSend.m b/Test/objc_msgSend.m index a47fc87..4689172 100644 --- a/Test/objc_msgSend.m +++ b/Test/objc_msgSend.m @@ -84,10 +84,8 @@ __attribute__((objc_root_class)) va_start(ap, str); - vsnprintf(&s, 100, str, ap); + vsnprintf(s, 100, str, ap); va_end(ap); - fprintf(stderr, "String: '%s'\n", s); - vfprintf(stderr, s, ap); assert(strcmp(s, "Format string 42 42.000000\n") ==0); } + (void)initialize