clear
This commit is contained in:
parent
e943365759
commit
2716eb2775
@ -59,7 +59,7 @@ struct car* clear_train(struct car* first, const char* target) {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
struct car* this = first;
|
||||
//struct car* this = first;
|
||||
/*if(first->next->next == NULL){
|
||||
int x = strcmp(this->next->value, target);
|
||||
if(x == 0){
|
||||
@ -79,6 +79,7 @@ struct car* clear_train(struct car* first, const char* target) {
|
||||
} */
|
||||
|
||||
else{
|
||||
struct car* this = first;
|
||||
while(this != NULL){
|
||||
while(this != NULL){
|
||||
int x =strcmp(this->value, target);
|
||||
|
Loading…
Reference in New Issue
Block a user