From 64f9a186dea2a4b78102aa42096f4319b60a110f Mon Sep 17 00:00:00 2001 From: Radovan Kofira Date: Tue, 10 Nov 2020 21:55:33 +0100 Subject: [PATCH] achhhhh --- cv6/a_station.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cv6/a_station.c b/cv6/a_station.c index d52b8bc..5a1d542 100644 --- a/cv6/a_station.c +++ b/cv6/a_station.c @@ -101,11 +101,10 @@ int count_capacity(struct station* station){ struct car* newCar= station->tracks[i]; while (newCar->value!=NULL) { - counter;+=1; + counter+=1; newCar=newCar->next; } } - return counter; }