Branch: Tag:

2008-06-29

2008-06-29 11:07:03 by Martin Stjernholm <mast@lysator.liu.se>

Avoid warnings about statements with no effect.

Rev: src/svalue.h:1.164

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: svalue.h,v 1.163 2008/06/28 12:06:52 per Exp $ + || $Id: svalue.h,v 1.164 2008/06/29 11:07:03 mast Exp $   */      #ifndef SVALUE_H
524:      #else /* !PIKE_DEBUG */    - #define check_svalue(S) 0 - #define check_short_svalue(U, T) 0 + #define check_svalue(S) ((void) 0) + #define check_short_svalue(U, T) ((void) 0)   #define check_type(T) do {} while (0)   #define check_svalue_type(S) do {} while (0)   #define check_refs(S) do {} while (0)   #define check_refs2(S,T) do {} while (0) - #define check_type_hint(SVALS, NUM, TYPE_HINT) 0 + #define check_type_hint(SVALS, NUM, TYPE_HINT) ((void) 0)   #define dmalloc_check_svalue(S,L) (S)   #define dmalloc_check_svalues(S,L,N) (S)   #define dmalloc_check_union(U,T,L) (U)