]> Git Repo - qemu.git/commit
hmp: Ignore Error objects where the return value suffices
authorMarkus Armbruster <[email protected]>
Tue, 7 Jul 2020 16:06:13 +0000 (18:06 +0200)
committerMarkus Armbruster <[email protected]>
Fri, 10 Jul 2020 13:18:09 +0000 (15:18 +0200)
commita43770df5dbbe90bbe8ccb25e7c570169d10710b
tree71dc85a28d3bc760dfc39e5e09a2b37691958ba3
parent2d226cf6d18c853a3dca3fae1442be399caa2e6f
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 <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Message-Id: <20200707160613[email protected]>
qdev-monitor.c
This page took 0.024929 seconds and 4 git commands to generate.