diff --git a/cv5/a_train.c b/cv5/a_train.c index 110088b..baf7e72 100644 --- a/cv5/a_train.c +++ b/cv5/a_train.c @@ -72,6 +72,7 @@ struct car* clear_train(struct car* first, const char* target) { prev = prev->next; if(prev != NULL){ node = prev->next; + return 0; } } }