fix shadowing warning

This commit is contained in:
Robin Müller 2023-06-30 15:52:30 +02:00
parent f0ee7772e8
commit 7f2411358d
Signed by: muellerr
GPG Key ID: A649FB78196E3849
1 changed files with 1 additions and 1 deletions

View File

@ -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);