aboutsummaryrefslogtreecommitdiffstats
path: root/com32
diff options
context:
space:
mode:
authorPatrick Masotta <masottaus@yahoo.com>2015-09-13 08:42:14 -0400
committerGene Cumm <gene.cumm@gmail.com>2015-09-13 08:42:16 -0400
commit02f3609a95e3f8c123891faa89fc39eab8d85ede (patch)
tree40a99b7990850222ba304263ebfd8e0d23bf9f3c /com32
parentb5f26648ce726ca3141c54ba2a0da2688fb0fc38 (diff)
downloadsyslinux-02f3609a95e3f8c123891faa89fc39eab8d85ede.tar.gz
syslinux-02f3609a95e3f8c123891faa89fc39eab8d85ede.tar.xz
syslinux-02f3609a95e3f8c123891faa89fc39eab8d85ede.zip
zlib: use (void(0)) instead of empty #defines
Originally-By: Patrick Masotta <masottaus@yahoo.com> [Use (void(0)) instead of a dummy function - gene.cumm@gmail.com] Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
Diffstat (limited to 'com32')
-rw-r--r--com32/lib/zlib/zutil.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/com32/lib/zlib/zutil.h b/com32/lib/zlib/zutil.h
index ac2d73e8..ed6bd830 100644
--- a/com32/lib/zlib/zutil.h
+++ b/com32/lib/zlib/zutil.h
@@ -253,12 +253,12 @@ extern const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
# define Tracec(c,x) {if (z_verbose>0 && (c)) fprintf x ;}
# define Tracecv(c,x) {if (z_verbose>1 && (c)) fprintf x ;}
#else
-# define Assert(cond,msg)
-# define Trace(x)
-# define Tracev(x)
-# define Tracevv(x)
-# define Tracec(c,x)
-# define Tracecv(c,x)
+# define Assert(cond,msg) ((void)0)
+# define Trace(x) ((void)0)
+# define Tracev(x) ((void)0)
+# define Tracevv(x) ((void)0)
+# define Tracec(c,x) ((void)0)
+# define Tracecv(c,x) ((void)0)
#endif