clear
This commit is contained in:
parent
4aeb52f77e
commit
c189a2f6c0
@ -83,14 +83,14 @@ struct car* clear_train(struct car* first, const char* target) {
|
||||
}
|
||||
this = this->next;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
int x = strcmp(this->next->value, target);
|
||||
if(x == 0){
|
||||
free(this->next);
|
||||
this->next = NULL;
|
||||
return first;
|
||||
}
|
||||
}*/
|
||||
return first;
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user