fix variable shadowing
This commit is contained in:
parent
64922367e4
commit
f8fae1ac62
@ -63,7 +63,7 @@ ReturnValue_t DleParser::parseRingBuf(size_t& readSize) {
|
|||||||
size_t decodedLen = 0;
|
size_t decodedLen = 0;
|
||||||
size_t dummy = 0;
|
size_t dummy = 0;
|
||||||
|
|
||||||
ReturnValue_t result =
|
result =
|
||||||
decoder.decode(&encodedBuf.first[stxIdx], availableData - stxIdx, &dummy,
|
decoder.decode(&encodedBuf.first[stxIdx], availableData - stxIdx, &dummy,
|
||||||
decodedBuf.first, decodedBuf.second, &decodedLen);
|
decodedBuf.first, decodedBuf.second, &decodedLen);
|
||||||
if (result == returnvalue::OK) {
|
if (result == returnvalue::OK) {
|
||||||
|
@ -99,7 +99,7 @@ ReturnValue_t CServiceHealthCommanding::prepareCommand(CommandMessage *message,
|
|||||||
return CommandingServiceBase::EXECUTION_COMPLETE;
|
return CommandingServiceBase::EXECUTION_COMPLETE;
|
||||||
}
|
}
|
||||||
case (Subservice::COMMAND_ANNOUNCE_HEALTH_ALL): {
|
case (Subservice::COMMAND_ANNOUNCE_HEALTH_ALL): {
|
||||||
ReturnValue_t result = iterateHealthTable(true);
|
result = iterateHealthTable(true);
|
||||||
if (result == returnvalue::OK) {
|
if (result == returnvalue::OK) {
|
||||||
reportAllHealth = true;
|
reportAllHealth = true;
|
||||||
return EXECUTION_COMPLETE;
|
return EXECUTION_COMPLETE;
|
||||||
|
Loading…
Reference in New Issue
Block a user