|
From: <sv...@va...> - 2012-03-07 17:11:54
|
sewardj 2012-03-07 17:11:44 +0000 (Wed, 07 Mar 2012)
New Revision: 12426
Log:
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.
Modified files:
trunk/include/pub_tool_inner.h
Modified: trunk/include/pub_tool_inner.h (+3 -3)
===================================================================
--- trunk/include/pub_tool_inner.h 2012-03-07 16:38:12 +00:00 (rev 12425)
+++ trunk/include/pub_tool_inner.h 2012-03-07 17:11:44 +00:00 (rev 12426)
@@ -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
|