Update 'cv7/a_station.c'
This commit is contained in:
parent
aad6a3dbf1
commit
146f42eb42
@ -37,7 +37,6 @@ void add_target_capacity(struct station* station,const char* target, int capacit
|
||||
struct car* new_car = (struct car*)malloc(sizeof(struct car));
|
||||
while (aktualna != NULL) {
|
||||
if (strcmp(aktualna->value, target) == 0) {
|
||||
aktualna->capacity += capacity;
|
||||
return;
|
||||
}
|
||||
aktualna = aktualna->next;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user