Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
ppatpat authored and geneC committed Sep 13, 2015
1 parent b5f2664 commit 02f3609
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions com32/lib/zlib/zutil.h
Expand Up @@ -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


Expand Down

0 comments on commit 02f3609

Please sign in to comment.