[ros-diffs] [ion] 20566: - fix build on dbg=0. Thanks to Andrew
ion at svn.reactos.org
ion at svn.reactos.org
Thu Jan 5 01:56:51 CET 2006
- fix build on dbg=0. Thanks to Andrew
Modified: trunk/reactos/ntoskrnl/ex/pushlock.c
_____
Modified: trunk/reactos/ntoskrnl/ex/pushlock.c
--- trunk/reactos/ntoskrnl/ex/pushlock.c 2006-01-04 23:48:15 UTC
(rev 20565)
+++ trunk/reactos/ntoskrnl/ex/pushlock.c 2006-01-05 00:56:44 UTC
(rev 20566)
@@ -164,8 +164,10 @@
/* Sanity check */
ASSERT(!WaitBlock->Signaled);
+#ifdef DBG
/* We are about to get signaled */
WaitBlock->Signaled = TRUE;
+#endif
/* Set the Wait Bit in the Wait Block */
if (!InterlockedBitTestAndReset(&WaitBlock->Flags, 1))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20060105/2c264a0f/attachment.html
More information about the Ros-diffs
mailing list