What's the purpose of such ASSERT?
  Modified: trunk/reactos/ntoskrnl/fsrtl/notify.c
 URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/fsrtl/notify.c?re…
==============================================================================
  --- trunk/reactos/ntoskrnl/fsrtl/notify.c [iso-8859-1]
(original)
 +++ trunk/reactos/ntoskrnl/fsrtl/notify.c [iso-8859-1] Thu Sep 27 
17:16:31 2012
  @@ -586,6 +586,13 @@
 /* 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 */
  
--
Pierre Schweitzer <pierre(a)reactos.org
System Administrator
ReactOS Foundation