mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 10:05:29 +00:00
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:
parent
95808ccd1a
commit
742df20540
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user