Skip to content
Snippets Groups Projects
Commit ed3dca99 authored by Martin Stjernholm's avatar Martin Stjernholm
Browse files

Avoid warnings about statements with no effect.

Rev: src/svalue.h:1.164
parent e11fb217
Branches
Tags
Loading
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
|| This file is part of Pike. For copyright information see COPYRIGHT. || This file is part of Pike. For copyright information see COPYRIGHT.
|| Pike is distributed under GPL, LGPL and MPL. See the file COPYING || Pike is distributed under GPL, LGPL and MPL. See the file COPYING
|| for more information. || 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 #ifndef SVALUE_H
...@@ -524,13 +524,13 @@ static INLINE struct callable *pass_callable (struct callable *c) {return c;} ...@@ -524,13 +524,13 @@ static INLINE struct callable *pass_callable (struct callable *c) {return c;}
#else /* !PIKE_DEBUG */ #else /* !PIKE_DEBUG */
#define check_svalue(S) 0 #define check_svalue(S) ((void) 0)
#define check_short_svalue(U, T) 0 #define check_short_svalue(U, T) ((void) 0)
#define check_type(T) do {} while (0) #define check_type(T) do {} while (0)
#define check_svalue_type(S) do {} while (0) #define check_svalue_type(S) do {} while (0)
#define check_refs(S) do {} while (0) #define check_refs(S) do {} while (0)
#define check_refs2(S,T) 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_svalue(S,L) (S)
#define dmalloc_check_svalues(S,L,N) (S) #define dmalloc_check_svalues(S,L,N) (S)
#define dmalloc_check_union(U,T,L) (U) #define dmalloc_check_union(U,T,L) (U)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment