small coverity tweak for Health Device #409

Merged
gaisser merged 2 commits from mueller/health-coverity-fix into development 2021-04-20 16:38:38 +02:00
Showing only changes of commit a2ba3181b9 - Show all commits

View File

@ -16,9 +16,9 @@ ReturnValue_t HealthDevice::performOperation(uint8_t opCode) {
CommandMessage command;
ReturnValue_t result = commandQueue->receiveMessage(&command);
if (result == HasReturnvaluesIF::RETURN_OK) {
healthHelper.handleHealthCommand(&command);
result = healthHelper.handleHealthCommand(&command);
}
return HasReturnvaluesIF::RETURN_OK;
return result;
}
ReturnValue_t HealthDevice::initialize() {