X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/722a4fd38336dab14e00cb60c9e0c17867a0240e..db8c640329f3b9015fd61f29c6773f996cbcfbfe:/projects/stargazer/plugins/configuration/sgconfig/parser_tariff.cpp diff --git a/projects/stargazer/plugins/configuration/sgconfig/parser_tariff.cpp b/projects/stargazer/plugins/configuration/sgconfig/parser_tariff.cpp index c17a7713..389e8575 100644 --- a/projects/stargazer/plugins/configuration/sgconfig/parser_tariff.cpp +++ b/projects/stargazer/plugins/configuration/sgconfig/parser_tariff.cpp @@ -388,7 +388,10 @@ else snprintf(st, 50, "Time%d", j); if (strcasecmp(el, st) == 0) { - int h1, m1, h2, m2; + int h1 = 0; + int m1 = 0; + int h2 = 0; + int m2 = 0; if (ParseTariffTimeStr(attr[1], h1, m1, h2, m2) == 0) { td.dirPrice[j].hDay = h1;