- fix build on dbg=0. Thanks to Andrew

svn path=/trunk/; revision=20566
This commit is contained in:
Alex Ionescu 2006-01-05 00:56:44 +00:00
parent afb3a84621
commit 1ca93c8a41

View file

@ -164,8 +164,10 @@ ExfWakePushLock(PEX_PUSH_LOCK PushLock,
/* Sanity check */ /* Sanity check */
ASSERT(!WaitBlock->Signaled); ASSERT(!WaitBlock->Signaled);
#ifdef DBG
/* We are about to get signaled */ /* We are about to get signaled */
WaitBlock->Signaled = TRUE; WaitBlock->Signaled = TRUE;
#endif
/* Set the Wait Bit in the Wait Block */ /* Set the Wait Bit in the Wait Block */
if (!InterlockedBitTestAndReset(&WaitBlock->Flags, 1)) if (!InterlockedBitTestAndReset(&WaitBlock->Flags, 1))