Turn no-op versions of INNER_REQUEST into statements, not values,

since gcc complains about "statement with no effect" or some such for
the simple "0" version.  Also, make the formal parameter names a bit
more unique.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12426
This commit is contained in:
Julian Seward 2012-03-07 17:11:44 +00:00
parent 95808ccd1a
commit 742df20540

View File

@ -54,14 +54,14 @@
#define ENABLE_INNER_CLIENT_REQUEST 1
#if defined(ENABLE_INNER_CLIENT_REQUEST)
#define INNER_REQUEST(a) a
#define INNER_REQUEST(__zza) __zza
#else
#define INNER_REQUEST(a) 0
#define INNER_REQUEST(__zza) do {} while (0)
#endif
#else
#define INNER_REQUEST(a) 0
#define INNER_REQUEST(__zza) do {} while (0)
#endif