- 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))