From eede13dc23d5e3377a9c8ba48d34409b3de02b45 Mon Sep 17 00:00:00 2001 From: Jerome Benoit Date: Sun, 5 Mar 2017 23:29:26 +0100 Subject: [PATCH] TP9 exo2: Code cleanup (indentation and unused header declaration) Signed-off-by: Jerome Benoit --- TP_9/exo2/clist.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/TP_9/exo2/clist.c b/TP_9/exo2/clist.c index ae7db6f..244a687 100644 --- a/TP_9/exo2/clist.c +++ b/TP_9/exo2/clist.c @@ -1,6 +1,5 @@ #include #include -#include #include #include "clist.h" @@ -150,7 +149,7 @@ link_t* list_merge_sort(link_t* head) { head2 = head->next; while (head2 != NULL && head2->next != NULL) { head = head->next; - head2 = head->next->next; + head2 = head->next->next; } head2 = head->next; head->next = NULL; -- 2.34.1