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;