* Minor cleanup.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26712 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2008-08-01 09:57:14 +00:00
parent e6f3de9a29
commit aaad303e67
2 changed files with 4 additions and 6 deletions

View File

@ -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;
}
}

View File

@ -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;
}
}