mirror of
https://github.com/acpica/acpica/
synced 2025-02-25 01:44:33 +03:00
0 should be NULL
date 2004.11.02.23.29.00; author rmoore1; state Exp;
This commit is contained in:
parent
4ed9a002c1
commit
2880576b49
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user