From: Hermès Bélusca-Maïto Date: Fri, 28 Sep 2012 10:01:00 +0000 (+0000) Subject: [NTOSKRNL] X-Git-Tag: backups/ros-csrss@57560~145 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=23d6a39557445b11cb37e4287cc211daa4422689;hp=20c880bf33c202a09a8f0f73082ee3c062efa8ee [NTOSKRNL] - Revert rev.57400 only for this file since CID 701342 was a false-positive from Coverity (because Coverity doesn't know what the aim of the POOL_RAISE_IF_ALLOCATION_FAILURE is). svn path=/trunk/; revision=57411 --- diff --git a/reactos/ntoskrnl/fsrtl/notify.c b/reactos/ntoskrnl/fsrtl/notify.c index a9bd1a24afc..3fdb49e66b8 100644 --- a/reactos/ntoskrnl/fsrtl/notify.c +++ b/reactos/ntoskrnl/fsrtl/notify.c @@ -586,13 +586,6 @@ FsRtlNotifyFilterChangeDirectory(IN PNOTIFY_SYNC NotifySync, /* Allocate new notification */ NotifyChange = ExAllocatePoolWithTag(PagedPool | POOL_RAISE_IF_ALLOCATION_FAILURE, sizeof(NOTIFY_CHANGE), 'FSrN'); - - /* - * If NotifyChange == NULL then an - * exception was already raised. - */ - ASSERT(NotifyChange != NULL); - RtlZeroMemory(NotifyChange, sizeof(NOTIFY_CHANGE)); /* Set basic information */