diff --git a/library/src/calculate_price.cpp b/library/src/calculate_price.cpp index 347d6ce..1a2631f 100644 --- a/library/src/calculate_price.cpp +++ b/library/src/calculate_price.cpp @@ -36,6 +36,8 @@ int CALCULATE_LIBRARY_API get_minimal_parkingtime(Configuration const *cfg, switch(permitType) { case PERMIT_TYPE::SHORT_TERM_PARKING: { // e.g. szeged (customer_281) + QList const tsteps = Calculator::GetInstance().GetTimeSteps((Configuration *)cfg, paymentOptionIndex); + Q_UNUSED(tsteps); minTime = cfg->getPaymentOptions(paymentOptionIndex).pop_min_time; } break; case PERMIT_TYPE::DAY_TICKET_ADULT: {