This commit is contained in:
Maryna Kravtsova 2020-11-03 18:33:20 +01:00
parent 97472d25cf
commit 5dc075a476

View File

@ -72,6 +72,7 @@ struct car* clear_train(struct car* first, const char* target) {
prev = prev->next; prev = prev->next;
if(prev != NULL){ if(prev != NULL){
node = prev->next; node = prev->next;
return 0;
} }
} }
} }