fix variable shadowing

This commit is contained in:
muellerr committed 2023-06-30 14:59:24 +02:00
1 parent 64922367e4
commit f8fae1ac62
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -63,7 +63,7 @@ ReturnValue_t DleParser::parseRingBuf(size_t& readSize) {
size_t decodedLen = 0;
size_t dummy = 0;
ReturnValue_t result =
result =
decoder.decode(&encodedBuf.first[stxIdx], availableData - stxIdx, &dummy,
decodedBuf.first, decodedBuf.second, &decodedLen);
if (result == returnvalue::OK) {
+1 -1
View File
@@ -99,7 +99,7 @@ ReturnValue_t CServiceHealthCommanding::prepareCommand(CommandMessage *message,
return CommandingServiceBase::EXECUTION_COMPLETE;
}
case (Subservice::COMMAND_ANNOUNCE_HEALTH_ALL): {
ReturnValue_t result = iterateHealthTable(true);
result = iterateHealthTable(true);
if (result == returnvalue::OK) {
reportAllHealth = true;
return EXECUTION_COMPLETE;