diff --git a/cv5/a_train.c b/cv5/a_train.c index a868a77..cc680a7 100644 --- a/cv5/a_train.c +++ b/cv5/a_train.c @@ -7,7 +7,6 @@ struct car* add_car(struct car* first,const char* target) { struct car* newcar = calloc(1, sizeof(struct car)); strcpy(newcar->value, target); - newcar->next = first; if(first == NULL){ return newcar; }