Re: [PATCH v2 18/44] qapi: Use returned bool to check for failure, manual part

2020-07-03 Thread Vladimir Sementsov-Ogievskiy
02.07.2020 18:49, Markus Armbruster wrote: The previous commit used Coccinelle to convert from checking the Error object to checking the return value. Convert a few more manually. Also tweak control flow in places to conform to the conventional "if error bail out" pattern. Signed-off-by: Markus

[PATCH v2 18/44] qapi: Use returned bool to check for failure, manual part

2020-07-02 Thread Markus Armbruster
The previous commit used Coccinelle to convert from checking the Error object to checking the return value. Convert a few more manually. Also tweak control flow in places to conform to the conventional "if error bail out" pattern. Signed-off-by: Markus Armbruster Reviewed-by: Eric Blake --- ac