From 5c72122d25216229ac41e8cbdd13b8832b1d33c3 Mon Sep 17 00:00:00 2001 From: Falk Werner Date: Sat, 27 Apr 2019 13:06:16 +0200 Subject: [PATCH] removes unnecessary code --- lib/webfuse/core/slist.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/webfuse/core/slist.c b/lib/webfuse/core/slist.c index 5c9dfb1..c6896d7 100644 --- a/lib/webfuse/core/slist.c +++ b/lib/webfuse/core/slist.c @@ -27,11 +27,6 @@ void wf_slist_append( item->next = NULL; list->last->next = item; list->last = item; - - if (NULL == list->head.next) - { - list->head.next = item; - } } struct wf_slist_item * wf_slist_remove_first(