remove unreachable code

This commit is contained in:
Robin Müller 2023-02-06 14:41:14 +01:00
parent c1f42618db
commit 066f7a6f9b
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814

View File

@ -88,14 +88,6 @@ ReturnValue_t CServiceHealthCommanding::prepareCommand(CommandMessage *message,
return EXECUTION_COMPLETE;
}
return result;
while (true) {
ReturnValue_t result = iterateHealthTable(false);
if (result != returnvalue::OK) {
break;
}
}
return returnvalue::OK;
}
default: {
// Should never happen, subservice was already checked