From 9b936bc6164aab8da8138f2e1a613eaa06f4294c Mon Sep 17 00:00:00 2001 From: Maryna Kravtsova Date: Mon, 2 Nov 2020 13:17:07 +0100 Subject: [PATCH] add --- cv5/a_train.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cv5/a_train.c b/cv5/a_train.c index 6945fc0..b1d3454 100644 --- a/cv5/a_train.c +++ b/cv5/a_train.c @@ -24,7 +24,7 @@ struct car* add_car(struct car* first,const char* target) { } void print_train(struct car* first) { - for(struct car* this == first; this != NULL; this = this->next){ + for(struct car* this = first; this != NULL; this = this->next){ printf("%s\n", this->value); } /*struct car* this = first;