From 02f3609a95e3f8c123891faa89fc39eab8d85ede Mon Sep 17 00:00:00 2001 From: Patrick Masotta Date: Sun, 13 Sep 2015 08:42:14 -0400 Subject: zlib: use (void(0)) instead of empty #defines Originally-By: Patrick Masotta [Use (void(0)) instead of a dummy function - gene.cumm@gmail.com] Signed-off-by: Gene Cumm --- com32/lib/zlib/zutil.h | 12 ++++++------ 1 file 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 -- cgit