fix compiler warnings
This commit is contained in:
@@ -265,7 +265,9 @@ result_t getFieldLength(const SingleDataField *field, dtlf_t *length) {
|
|||||||
.hasDivisor = nt->getDivisor()!=1,
|
.hasDivisor = nt->getDivisor()!=1,
|
||||||
.isFloat = dt->hasFlag(EXP),
|
.isFloat = dt->hasFlag(EXP),
|
||||||
.isSigned = dt->hasFlag(SIG),
|
.isSigned = dt->hasFlag(SIG),
|
||||||
|
.lastValueSent = false,
|
||||||
.length = static_cast<uint8_t>(bitCnt/8),
|
.length = static_cast<uint8_t>(bitCnt/8),
|
||||||
|
.lastValue = 0,
|
||||||
}};
|
}};
|
||||||
return RESULT_OK;
|
return RESULT_OK;
|
||||||
}
|
}
|
||||||
@@ -801,7 +803,6 @@ void KnxHandler::run() {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
for (auto destFlags : mit->second) {
|
for (auto destFlags : mit->second) {
|
||||||
bool isWrite = (destFlags&FLAG_WRITE)!=0; // from KNX perspective
|
|
||||||
auto sit = m_subscribedGroups.find(destFlags);
|
auto sit = m_subscribedGroups.find(destFlags);
|
||||||
if (sit == m_subscribedGroups.end()) {
|
if (sit == m_subscribedGroups.end()) {
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user