diff --git a/du5/a_station.c b/du5/a_station.c index 39e411d..17b5280 100644 --- a/du5/a_station.c +++ b/du5/a_station.c @@ -35,7 +35,7 @@ void add_target_capacity(struct station* station,const char* target, int capacit if(count == res){ break; } - else if (ptr->value == target){ + if (ptr->value == target){ ptr->capacity += capacity; return; }