- fix build on dbg=0. Thanks to Andrew
authorAlex Ionescu <aionescu@gmail.com>
Thu, 5 Jan 2006 00:56:44 +0000 (00:56 +0000)
committerAlex Ionescu <aionescu@gmail.com>
Thu, 5 Jan 2006 00:56:44 +0000 (00:56 +0000)
svn path=/trunk/; revision=20566

reactos/ntoskrnl/ex/pushlock.c

index c132e46..bccf40a 100644 (file)
@@ -164,8 +164,10 @@ ExfWakePushLock(PEX_PUSH_LOCK PushLock,
         /* 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))