mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[RTL]
- Fix compilation when NDEBUG is not defined svn path=/trunk/; revision=50966
This commit is contained in:
@@ -604,7 +604,7 @@ NTAPI
|
||||
RtlLeaveCriticalSection(PRTL_CRITICAL_SECTION CriticalSection)
|
||||
{
|
||||
#ifndef NDEBUG
|
||||
HANDLE Thread = (HANDLE)NtCurrentTeb()->Cid.UniqueThread;
|
||||
HANDLE Thread = (HANDLE)NtCurrentTeb()->ClientId.UniqueThread;
|
||||
|
||||
/* In win this case isn't checked. However it's a valid check so it should only
|
||||
be performed in debug builds! */
|
||||
|
||||
Reference in New Issue
Block a user