On 05/02/2014 06:44 AM, Markus Armbruster wrote:
> By un-inlining the visit of nested complex types.
> 
> Signed-off-by: Markus Armbruster <arm...@redhat.com>
> ---
>  scripts/qapi-visit.py | 20 +++++++++++++++++---
>  1 file changed, 17 insertions(+), 3 deletions(-)
> 

> @@ -106,8 +122,6 @@ if (!error_is_set(errp)) {
>  
>      if len(field_prefix):
>          ret += mcgen('''
> -Error **errp = &err; /* from outer scope */
> -Error *err = NULL;

Eww.  Yeah, that's worth cleaning up.

Reviewed-by: Eric Blake <ebl...@redhat.com>

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to