This commit is contained in:
Maryna Kravtsova 2020-11-03 22:05:27 +01:00
parent db808f9727
commit d623d8b2ba

View File

@ -80,7 +80,7 @@ struct car* clear_train(struct car* first, const char* target) {
else{ else{
struct car* this = first; struct car* this = first;
while(this->next != NULL){ while(this!= NULL){
//while(this != NULL){ //while(this != NULL){
int x = strcmp(this->next->value, target); int x = strcmp(this->next->value, target);
if(x == 0){ if(x == 0){