diff --git a/src/klist.c b/src/klist.c index ebd09d6..ee34a0c 100644 --- a/src/klist.c +++ b/src/klist.c @@ -51,7 +51,6 @@ int list_size(struct node **list) struct node *tmp = *list; while (tmp != NULL || tmp->next != NULL) { - in_tmp = tmp; tmp = tmp->next; ++count;