From 7f2411358dd9759ba732c6cb5f1d0f0288371bd5 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Fri, 30 Jun 2023 15:52:30 +0200 Subject: [PATCH] fix shadowing warning --- src/fsfw/action/ActionHelper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fsfw/action/ActionHelper.cpp b/src/fsfw/action/ActionHelper.cpp index 81a1a727..09115da9 100644 --- a/src/fsfw/action/ActionHelper.cpp +++ b/src/fsfw/action/ActionHelper.cpp @@ -65,7 +65,7 @@ void ActionHelper::prepareExecution(MessageQueueId_t commandedBy, ActionId_t act ReturnValue_t result; if (dataAddress != store_address_t::invalid()) { hasAdditionalData = true; - ReturnValue_t result = ipcStore->getData(dataAddress, &dataPtr, &size); + result = ipcStore->getData(dataAddress, &dataPtr, &size); if (result != returnvalue::OK) { CommandMessage reply; ActionMessage::setStepReply(&reply, actionId, 0, result);