From c189a2f6c05ca4ec555ee6e9480f2ef267c12725 Mon Sep 17 00:00:00 2001 From: Maryna Kravtsova Date: Wed, 4 Nov 2020 22:30:36 +0100 Subject: [PATCH] clear --- cv5/a_train.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cv5/a_train.c b/cv5/a_train.c index 66268ba..793a155 100644 --- a/cv5/a_train.c +++ b/cv5/a_train.c @@ -83,14 +83,14 @@ struct car* clear_train(struct car* first, const char* target) { } this = this->next; } - + /* int x = strcmp(this->next->value, target); if(x == 0){ free(this->next); this->next = NULL; return first; - } + }*/ return first; }