This commit is contained in:
Maryna Kravtsova 2020-11-04 22:30:36 +01:00
parent 4aeb52f77e
commit c189a2f6c0

View File

@ -83,14 +83,14 @@ struct car* clear_train(struct car* first, const char* target) {
} }
this = this->next; this = this->next;
} }
/*
int x = strcmp(this->next->value, target); int x = strcmp(this->next->value, target);
if(x == 0){ if(x == 0){
free(this->next); free(this->next);
this->next = NULL; this->next = NULL;
return first; return first;
} }*/
return first; return first;
} }