clear
This commit is contained in:
parent
db808f9727
commit
d623d8b2ba
@ -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){
|
||||||
|
Loading…
Reference in New Issue
Block a user