Re: [PATCH 1/2] qemu: remove unnecessary else branches after return / goto

2022-03-25 Thread Ján Tomko
On a Thursday in 2022, Kristina Hanicova wrote: I think the code looks cleaner without else branches. Signed-off-by: Kristina Hanicova --- src/qemu/qemu_domainjob.c | 3 +-- src/qemu/qemu_migration.c | 13 +++-- src/qemu/qemu_process.c | 4 ++-- src/qemu/qemu_snapshot.c | 13

[PATCH 1/2] qemu: remove unnecessary else branches after return / goto

2022-03-24 Thread Kristina Hanicova
I think the code looks cleaner without else branches. Signed-off-by: Kristina Hanicova --- src/qemu/qemu_domainjob.c | 3 +-- src/qemu/qemu_migration.c | 13 +++-- src/qemu/qemu_process.c | 4 ++-- src/qemu/qemu_snapshot.c | 13 ++--- 4 files changed, 16 insertions(+), 17