From 5dc075a47654aabead63bf1452a6ab1124d9c25b Mon Sep 17 00:00:00 2001 From: Maryna Kravtsova Date: Tue, 3 Nov 2020 18:33:20 +0100 Subject: [PATCH] clear --- cv5/a_train.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cv5/a_train.c b/cv5/a_train.c index 110088b..baf7e72 100644 --- a/cv5/a_train.c +++ b/cv5/a_train.c @@ -72,6 +72,7 @@ struct car* clear_train(struct car* first, const char* target) { prev = prev->next; if(prev != NULL){ node = prev->next; + return 0; } } }