On a Thursday in 2021, Kristina Hanicova wrote:
This patch includes:
* fix of a mistake in cmdMigrateSetMaxDowntime() - function
returned false when it should have returned true
Ideally, refactors should not alter behavior, so fixes should be
separated.
Jano
* use of an early return in case of an error
* removal of unnecessary variables and extra labels
* returning value directly
Signed-off-by: Kristina Hanicova <khanicov(a)redhat.com>
---
tools/virsh-domain.c | 250 +++++++++++++++++--------------------------
1 file changed, 98 insertions(+), 152 deletions(-)