aboutsummaryrefslogtreecommitdiff
path: root/dump
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2020-07-07 18:05:53 +0200
committerMarkus Armbruster <armbru@redhat.com>2020-07-10 15:18:08 +0200
commit1c94a351644fb2555f34e63c8ddc29f70bd4803a (patch)
tree1b514b71f4fd62bb48cbf7f26d8c16f1285319e2 /dump
parent4d21fcd52404ff4bac1f94d8054dfb745f1b2ad6 (diff)
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 'dump')
0 files changed, 0 insertions, 0 deletions