diff options
author | Markus Armbruster <armbru@redhat.com> | 2020-07-07 18:06:13 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2020-07-10 15:18:09 +0200 |
commit | a43770df5dbbe90bbe8ccb25e7c570169d10710b (patch) | |
tree | 71dc85a28d3bc760dfc39e5e09a2b37691958ba3 /accel | |
parent | 2d226cf6d18c853a3dca3fae1442be399caa2e6f (diff) |
hmp: Ignore Error objects where the return value suffices
qdev_print_props() receives and throws away Error objects just to
check for object_property_get_str() and object_property_print()
failure. Unnecessary, both return suitable values, so use those
instead.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20200707160613.848843-46-armbru@redhat.com>
Diffstat (limited to 'accel')
0 files changed, 0 insertions, 0 deletions