From: Pierre Schweitzer Date: Sat, 27 May 2017 17:41:58 +0000 (+0000) Subject: [RXCE] X-Git-Tag: ReactOS-0.4.6~610 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=683eaf0e0050e76c74afd2c36332ad6b5ff585b5 [RXCE] Make RxpTrackDereference()/RxpTrackReference() when they're noop. CORE-11327 svn path=/trunk/; revision=74684 --- diff --git a/reactos/sdk/lib/drivers/rxce/rxce.c b/reactos/sdk/lib/drivers/rxce/rxce.c index d34165af1b1..d2937190e2b 100644 --- a/reactos/sdk/lib/drivers/rxce/rxce.c +++ b/reactos/sdk/lib/drivers/rxce/rxce.c @@ -4611,8 +4611,15 @@ RxpTrackDereference( _In_ ULONG Line, _In_ PVOID Instance) { + PAGED_CODE(); + + if (!BooleanFlagOn(RdbssReferenceTracingValue, TraceType)) + { + return TRUE; + } + UNIMPLEMENTED; - return FALSE; + return TRUE; } VOID @@ -4622,6 +4629,11 @@ RxpTrackReference( _In_ ULONG Line, _In_ PVOID Instance) { + if (!BooleanFlagOn(RdbssReferenceTracingValue, TraceType)) + { + return; + } + UNIMPLEMENTED; }