This commit is contained in:
Radovan Kofira 2020-11-10 21:55:33 +01:00
parent d17289c942
commit 64f9a186de

View File

@ -101,11 +101,10 @@ int count_capacity(struct station* station){
struct car* newCar= station->tracks[i]; struct car* newCar= station->tracks[i];
while (newCar->value!=NULL) while (newCar->value!=NULL)
{ {
counter;+=1; counter+=1;
newCar=newCar->next; newCar=newCar->next;
} }
} }
return counter; return counter;
} }