fix lint warnings

This commit is contained in:
Proddy
2021-07-03 20:32:46 +02:00
parent 3eb2202117
commit 8429f650aa
2 changed files with 7 additions and 4 deletions

View File

@@ -1096,7 +1096,7 @@ void Thermostat::process_RCErrorMessage(std::shared_ptr<const Telegram> telegram
// data: displaycode(2), errornumber(2), year, month, hour, day, minute, duration(2), src-addr
if (telegram->message_data[4] & 0x80) { // valid date
char code[3];
uint16_t codeNo;
uint16_t codeNo = EMS_VALUE_USHORT_NOTSET;
code[0] = telegram->message_data[0];
code[1] = telegram->message_data[1];
code[2] = 0;