diff options
author | Nathan Moinvaziri <nathan@nathanm.com> | 2021-06-13 15:16:20 -0700 |
---|---|---|
committer | Hans Kristian Rosbach <hk-git@circlestorm.org> | 2021-06-21 11:19:21 +0200 |
commit | f0a801edc93c2f58e705e1cf76011560727084d2 (patch) | |
tree | 9c2b5a30a8125b64b078e09febb8a697c8b383f4 /test/example.c | |
parent | 89992dfbf11c3665f9c7808237a9ba865beb82f2 (diff) |
Added Z_UNUSED define for ignore unused variables.
Diffstat (limited to 'test/example.c')
-rw-r--r-- | test/example.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/example.c b/test/example.c index 97ca002..5dc8290 100644 --- a/test/example.c +++ b/test/example.c @@ -229,7 +229,7 @@ void test_gzio(const char *fname, unsigned char *uncompr, z_size_t uncomprLen) { fprintf(stderr, "gzclose unexpected return when handle null\n"); exit(1); } - (void)read; + Z_UNUSED(read); #endif } |