diff --git a/src/fsfw/globalfunctions/DleParser.cpp b/src/fsfw/globalfunctions/DleParser.cpp index cc695bab..8c3e8927 100644 --- a/src/fsfw/globalfunctions/DleParser.cpp +++ b/src/fsfw/globalfunctions/DleParser.cpp @@ -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) { diff --git a/src/fsfw/pus/CServiceHealthCommanding.cpp b/src/fsfw/pus/CServiceHealthCommanding.cpp index 3ced4ffb..a2b11930 100644 --- a/src/fsfw/pus/CServiceHealthCommanding.cpp +++ b/src/fsfw/pus/CServiceHealthCommanding.cpp @@ -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;