diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2021-10-28 16:18:25 +0100 |
---|---|---|
committer | Daniel P. Berrangé <berrange@redhat.com> | 2021-11-02 15:55:13 +0000 |
commit | 0ca117a756a79c0f93c9030b5c5a92982e3b0ee5 (patch) | |
tree | eab7211dff3dfd18993477d746f7c4bedf4ce02f /hmp-commands.hx | |
parent | 3e11e0b2dd5b0ed98d129aeacf46276f3671b5f5 (diff) |
monitor: make hmp_handle_error return a boolean
This turns the pattern
if (err) {
hmp_handle_error(mon, err);
return;
}
into
if (hmp_handle_error(mon, err)) {
return;
}
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'hmp-commands.hx')
0 files changed, 0 insertions, 0 deletions