From 1ca93c8a4115386beaa52c542f552d207e1e745e Mon Sep 17 00:00:00 2001 From: Alex Ionescu Date: Thu, 5 Jan 2006 00:56:44 +0000 Subject: [PATCH] - fix build on dbg=0. Thanks to Andrew svn path=/trunk/; revision=20566 --- reactos/ntoskrnl/ex/pushlock.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reactos/ntoskrnl/ex/pushlock.c b/reactos/ntoskrnl/ex/pushlock.c index c132e46a037..bccf40a2482 100644 --- a/reactos/ntoskrnl/ex/pushlock.c +++ b/reactos/ntoskrnl/ex/pushlock.c @@ -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))