Re: [PATCH] error: Move ERRP_GUARD() to the beginning of the function

2024-03-11 Thread Markus Armbruster
Zhao Liu writes: > From: Zhao Liu > > Since the commit 05e385d2a9 ("error: Move ERRP_GUARD() to the beginning > of the function"), there are new codes that don't put ERRP_GUARD() at > the beginning of the functions. > > As stated in the commit 05e385d2a9: "include/qapi/error.h advises to put > E

[PATCH] error: Move ERRP_GUARD() to the beginning of the function

2024-03-11 Thread Zhao Liu
From: Zhao Liu Since the commit 05e385d2a9 ("error: Move ERRP_GUARD() to the beginning of the function"), there are new codes that don't put ERRP_GUARD() at the beginning of the functions. As stated in the commit 05e385d2a9: "include/qapi/error.h advises to put ERRP_GUARD() right at the beginnin