0 should be NULL

date	2004.11.02.23.29.00;	author rmoore1;	state Exp;
This commit is contained in:
aystarik 2005-06-29 18:20:16 +00:00
parent 4ed9a002c1
commit 2880576b49

View File

@ -1,7 +1,7 @@
/*******************************************************************************
*
* Module Name: nsalloc - Namespace allocation and deletion utilities
* $Revision: 1.87 $
* $Revision: 1.88 $
*
******************************************************************************/
@ -600,15 +600,15 @@ AcpiNsDeleteNamespaceSubtree (
/* Check if this node has any children */
if (AcpiNsGetNextNode (ACPI_TYPE_ANY, ChildNode, 0))
if (AcpiNsGetNextNode (ACPI_TYPE_ANY, ChildNode, NULL))
{
/*
* There is at least one child of this node,
* visit the node
*/
Level++;
ParentNode = ChildNode;
ChildNode = 0;
ParentNode = ChildNode;
ChildNode = NULL;
}
}
else
@ -763,8 +763,8 @@ AcpiNsDeleteNamespaceByOwner (
* visit the node
*/
Level++;
ParentNode = ChildNode;
ChildNode = NULL;
ParentNode = ChildNode;
ChildNode = NULL;
}
else if (ChildNode->OwnerId == OwnerId)
{