summaryrefslogtreecommitdiff
path: root/test/example.c
diff options
context:
space:
mode:
authorNathan Moinvaziri <nathan@nathanm.com>2021-06-13 15:16:20 -0700
committerHans Kristian Rosbach <hk-github@circlestorm.org>2021-06-18 09:16:44 +0200
commit857e4f1e0481d87ac92b258804a00c501c75ceb4 (patch)
tree628093327fffaf236f7934d553f1b8df506cec65 /test/example.c
parent7a6f62ea93a4ebb35768dce11038253633ba54e1 (diff)
downloadProject-Tick-857e4f1e0481d87ac92b258804a00c501c75ceb4.tar.gz
Project-Tick-857e4f1e0481d87ac92b258804a00c501c75ceb4.zip
Added Z_UNUSED define for ignore unused variables.
Diffstat (limited to 'test/example.c')
-rw-r--r--test/example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/example.c b/test/example.c
index 8a8905dd5b..339ea8cd6f 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
}