* Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26712 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
e6f3de9a29
commit
aaad303e67
@ -180,8 +180,7 @@ void
|
||||
SINGLY_LINKED_LIST_CLASS_NAME::Add(Element* element)
|
||||
{
|
||||
if (element != NULL) {
|
||||
Link* link = sGetLink(element);
|
||||
link->next = fFirst;
|
||||
sGetLink(element)->next = fFirst;
|
||||
fFirst = element;
|
||||
}
|
||||
}
|
||||
|
@ -174,8 +174,7 @@ void
|
||||
SINGLY_LINKED_LIST_CLASS_NAME::Add(Element* element)
|
||||
{
|
||||
if (element != NULL) {
|
||||
Link* link = sGetLink(element);
|
||||
link->next = fFirst;
|
||||
sGetLink(element)->next = fFirst;
|
||||
fFirst = element;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user