Author: hyperion
Date: Fri Nov 28 08:38:41 2008
New Revision: 37705
URL:
http://svn.reactos.org/svn/reactos?rev=37705&view=rev
Log:
Don't let ASSERT_SRW_WAITBLOCK evaluate to nothing - make it evaluate to (void)0, like
ASSERT would
See issue #3608 for more details.
Modified:
trunk/reactos/lib/rtl/srw.c
Modified: trunk/reactos/lib/rtl/srw.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/srw.c?rev=37705&am…
==============================================================================
--- trunk/reactos/lib/rtl/srw.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/srw.c [iso-8859-1] Fri Nov 28 08:38:41 2008
@@ -50,7 +50,7 @@
#define ASSERT_SRW_WAITBLOCK(ptr) \
ASSERT(((ULONG_PTR)ptr & ((1 << RTL_SRWLOCK_BITS) - 1)) == 0)
#else
-#define ASSERT_SRW_WAITBLOCK(ptr)
+#define ASSERT_SRW_WAITBLOCK(ptr) ((void)0)
#endif
typedef struct _RTLP_SRWLOCK_SHARED_WAKE