diff options
Diffstat (limited to 'usr.bin/make/lst.lib/lstAppend.c')
-rw-r--r-- | usr.bin/make/lst.lib/lstAppend.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.bin/make/lst.lib/lstAppend.c b/usr.bin/make/lst.lib/lstAppend.c index f18cee4..109292d 100644 --- a/usr.bin/make/lst.lib/lstAppend.c +++ b/usr.bin/make/lst.lib/lstAppend.c @@ -89,11 +89,7 @@ Lst_Append(Lst list, LstNode ln, void *d) nLNode->useCount = nLNode->flags = 0; if (ln == NULL) { - if (list->isCirc) { - nLNode->nextPtr = nLNode->prevPtr = nLNode; - } else { - nLNode->nextPtr = nLNode->prevPtr = NULL; - } + nLNode->nextPtr = nLNode->prevPtr = NULL; list->firstPtr = list->lastPtr = nLNode; } else { nLNode->prevPtr = ln; |