clear
This commit is contained in:
parent
ee01429d40
commit
9336e66755
@ -61,7 +61,7 @@ struct car* clear_train(struct car* first, const char* target) {
|
||||
}
|
||||
else{
|
||||
struct car* this = first;
|
||||
while(first != NULL){
|
||||
while(this != NULL){
|
||||
int x = strcmp(this->value, target);
|
||||
if(x == 0){
|
||||
struct car* curr = first;
|
||||
|
Loading…
Reference in New Issue
Block a user