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; }