From d638476ad037a0ecafb892240f2896a449e1e6a1 Mon Sep 17 00:00:00 2001 From: Maryna Kravtsova Date: Tue, 3 Nov 2020 10:42:44 +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 055815b..2f5803b 100644 --- a/cv5/a_train.c +++ b/cv5/a_train.c @@ -76,7 +76,7 @@ struct car* clear_train(struct car* first, const char* target) { else{ struct car* this = first; while(this != NULL){ - int x == strcmp(this->value, target); + int x = strcmp(this->value, target); if(x == 0){ free(this->value); return 0;