From c7eee50c124c8b8d7be4af4bd01efed99400fb97 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Sat, 15 Aug 2020 14:30:02 -0400 Subject: remove warnings about unused variables --- stddef.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/stddef.c b/stddef.c index c42abf3..575881d 100644 --- a/stddef.c +++ b/stddef.c @@ -1,19 +1,23 @@ #include #include "test.h" +struct s { + char a; + char b; +}; + void test_stddef_h(void) { ptrdiff_t ptrdiff; size_t size; wchar_t wchar; - struct s { - char a; - char b; - }; - static struct s the_s; + (void)ptrdiff; + (void)size; + (void)wchar; + testing_header("stddef.h"); test_true(NULL == 0); -- cgit v1.2.1