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 /zutil.c | |
parent | 89992dfbf11c3665f9c7808237a9ba865beb82f2 (diff) |
Added Z_UNUSED define for ignore unused variables.
Diffstat (limited to 'zutil.c')
-rw-r--r-- | zutil.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -101,11 +101,11 @@ const char * Z_EXPORT PREFIX(zError)(int err) { } void Z_INTERNAL *zng_calloc(void *opaque, unsigned items, unsigned size) { - (void)opaque; + Z_UNUSED(opaque); return zng_alloc((size_t)items * (size_t)size); } void Z_INTERNAL zng_cfree(void *opaque, void *ptr) { - (void)opaque; + Z_UNUSED(opaque); zng_free(ptr); } |