diff options
author | Jakob Kaivo <jkk@ung.org> | 2020-08-15 14:30:02 -0400 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2020-08-15 14:30:02 -0400 |
commit | c7eee50c124c8b8d7be4af4bd01efed99400fb97 (patch) | |
tree | 9daaa6b44652894075d7d7a62e8805fe9f7f8f7d | |
parent | e6100b5b76a71c4c1fd9f10dfd24763195b0a4f2 (diff) |
remove warnings about unused variables
-rw-r--r-- | stddef.c | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -1,19 +1,23 @@ #include <stddef.h> #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); |