- fix build on dbg=0. Thanks to Andrew
[reactos.git] / 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))