Remove compile warning.

pull/114/head
Fredrik Öhrström 2020-05-11 12:04:45 +02:00
rodzic 033ce0cf82
commit 3b96b8de9d
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -155,9 +155,9 @@ double MeterIzar::lastMonthTotalWaterConsumption(Unit u)
string MeterIzar::setH0Date()
{
char result[11];
snprintf(result, sizeof(result), "%04d-%02d-%02d", h0_year, h0_month, h0_day);
return result;
string date;
strprintf(date, "%04d-%02d-%02d", h0_year, h0_month, h0_day);
return date;
}
string MeterIzar::currentAlarmsText()