diff options
author | Markus Armbruster <armbru@redhat.com> | 2023-01-09 20:03:18 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2023-01-19 13:30:01 +0100 |
commit | bcaf1fde57cfcb8952a8778ede0d4cf4136420b6 (patch) | |
tree | 0df4fd9c203005f617e7864c858935036b1b1b57 /page-vary.c | |
parent | f916a1751e735d3202a2dfc051d324a206831b69 (diff) | |
download | qemu-bcaf1fde57cfcb8952a8778ede0d4cf4136420b6.zip qemu-bcaf1fde57cfcb8952a8778ede0d4cf4136420b6.tar.gz qemu-bcaf1fde57cfcb8952a8778ede0d4cf4136420b6.tar.bz2 |
ui: Reduce nesting in hmp_change_vnc() slightly
Transform
if (good) {
do stuff
} else {
handle error
}
to
if (!good) {
handle error
return;
}
do stuff
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230109190321.1056914-15-armbru@redhat.com>
Diffstat (limited to 'page-vary.c')
0 files changed, 0 insertions, 0 deletions