mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 08:55:19 +00:00
if A ASSERT B => ASSERT(B or not A)
svn path=/trunk/; revision=55771
This commit is contained in:
parent
55993182a9
commit
5429a4441e
1 changed files with 2 additions and 5 deletions
|
@ -931,11 +931,8 @@ MiDecrementShareCount(IN PMMPFN Pfn1,
|
|||
ASSERT(Pfn1->u3.e2.ReferenceCount != 0);
|
||||
if (Pfn1->u3.e2.ReferenceCount == 1)
|
||||
{
|
||||
if(Pfn1->u3.e1.PrototypePte == 0)
|
||||
{
|
||||
/* In ReactOS, this path should always be hit with a deleted PFN */
|
||||
ASSERT(MI_IS_PFN_DELETED(Pfn1) == TRUE);
|
||||
}
|
||||
/* In ReactOS, this path should always be hit with a deleted PFN */
|
||||
ASSERT((MI_IS_PFN_DELETED(Pfn1) == TRUE) || (Pfn1->u3.e1.PrototypePte == 1));
|
||||
|
||||
/* Clear the last reference */
|
||||
Pfn1->u3.e2.ReferenceCount = 0;
|
||||
|
|
Loading…
Reference in a new issue