From 8479e19522b6ac105d6ad9323dbfac2e4159a106 Mon Sep 17 00:00:00 2001 From: Maryna Kravtsova Date: Wed, 4 Nov 2020 11:11:59 +0100 Subject: [PATCH] clear --- cv5/a_train.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cv5/a_train.c b/cv5/a_train.c index 7b0cdd1..f862e4c 100644 --- a/cv5/a_train.c +++ b/cv5/a_train.c @@ -63,7 +63,7 @@ struct car* clear_train(struct car* first, const char* target) { } } struct car* prev = first; - int z = strcmp(prev->value, target}; + int z = strcmp(prev->value, target); if(z == 0){ struct car* only = prev->next; free(prev);