summaryrefslogtreecommitdiffstats
path: root/hw/arm/digic.c
diff options
context:
space:
mode:
authorMarkus Armbruster2020-07-07 18:05:53 +0200
committerMarkus Armbruster2020-07-10 15:18:08 +0200
commit1c94a351644fb2555f34e63c8ddc29f70bd4803a (patch)
tree1b514b71f4fd62bb48cbf7f26d8c16f1285319e2 /hw/arm/digic.c
parentqom: Don't handle impossible object_property_get_link() failure (diff)
downloadqemu-1c94a351644fb2555f34e63c8ddc29f70bd4803a.tar.gz
qemu-1c94a351644fb2555f34e63c8ddc29f70bd4803a.tar.xz
qemu-1c94a351644fb2555f34e63c8ddc29f70bd4803a.zip
qom: Use return values to check for error where that's simpler
When using the Error object to check for error, we need to receive it into a local variable, then propagate() it to @errp. Using the return value permits allows receiving it straight to @errp. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-Id: <20200707160613.848843-26-armbru@redhat.com>
Diffstat (limited to 'hw/arm/digic.c')
0 files changed, 0 insertions, 0 deletions