From c659e0c2a65bf88775e5401648581b5d60ec9b13 Mon Sep 17 00:00:00 2001 From: WilfriedTchinda Date: Tue, 1 Oct 2024 16:49:35 +0200 Subject: [PATCH 1/2] reinitialisation de liste.c a une version precedente --- liste.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/liste.c b/liste.c index ce30547..86a69e2 100755 --- a/liste.c +++ b/liste.c @@ -39,11 +39,10 @@ liste supprimer(liste l) { void afficherliste(liste l) { liste tmp = l; - do { + while (tmp->next != NULL) { affichage_voie(tmp->contenu); tmp=tmp->next; } - while (tmp->next != NULL); } int case_vide(liste l) { From 204e586f34152c445a92664125b7504eb88a1b0d Mon Sep 17 00:00:00 2001 From: WilfriedTchinda Date: Tue, 1 Oct 2024 16:57:48 +0200 Subject: [PATCH 2/2] reinitialisation de liste.c a une version precedente --- liste.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/liste.c b/liste.c index ce30547..86a69e2 100755 --- a/liste.c +++ b/liste.c @@ -39,11 +39,10 @@ liste supprimer(liste l) { void afficherliste(liste l) { liste tmp = l; - do { + while (tmp->next != NULL) { affichage_voie(tmp->contenu); tmp=tmp->next; } - while (tmp->next != NULL); } int case_vide(liste l) {