mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 18:13:03 +00:00
[FORMATTING][NTOS][HAL][DRIVERS][SDK] Fix trailing spaces
This commit is contained in:
parent
4b4ffa92f5
commit
34593d933b
952 changed files with 12942 additions and 12942 deletions
|
@ -248,7 +248,7 @@ RtlEnumerateGenericTableWithoutSplayingAvl(IN PRTL_AVL_TABLE Table,
|
|||
IN OUT PVOID *RestartKey)
|
||||
{
|
||||
PRTL_BALANCED_LINKS CurrentNode;
|
||||
|
||||
|
||||
/* Skip an empty tree */
|
||||
if (RtlIsGenericTableEmptyAvl(Table)) return NULL;
|
||||
|
||||
|
@ -271,7 +271,7 @@ RtlEnumerateGenericTableWithoutSplayingAvl(IN PRTL_AVL_TABLE Table,
|
|||
/* If there was one, update the restart key */
|
||||
if (CurrentNode) *RestartKey = CurrentNode;
|
||||
}
|
||||
|
||||
|
||||
/* Return the node's data if it was found, otherwise return NULL */
|
||||
if (CurrentNode) return &((PTABLE_ENTRY_HEADER)CurrentNode)->UserData;
|
||||
return NULL;
|
||||
|
@ -303,15 +303,15 @@ RtlDeleteElementGenericTableAvl(IN PRTL_AVL_TABLE Table,
|
|||
/* Find the node */
|
||||
SearchResult = RtlpFindAvlTableNodeOrParent(Table, Buffer, &Node);
|
||||
if (SearchResult != TableFoundNode) return FALSE;
|
||||
|
||||
|
||||
/* If this node was the key, update it */
|
||||
if (Node == Table->RestartKey) Table->RestartKey = RtlRealPredecessorAvl(Node);
|
||||
|
||||
|
||||
/* Do the delete */
|
||||
Table->DeleteCount++;
|
||||
RtlpDeleteAvlTreeNode(Table, Node);
|
||||
Table->NumberGenericTableElements--;
|
||||
|
||||
|
||||
/* Reset accounting */
|
||||
Table->WhichOrderedElement = 0;
|
||||
Table->OrderedPointer = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue