[libvirt] [PATCH 04/18] cpu: Use a different name for the copy in ppc64ModelFromCPU()

Andrea Bolognani abologna at redhat.com
Wed Aug 5 15:48:37 UTC 2015


On Wed, 2015-08-05 at 14:28 +0200, Jiri Denemark wrote:
> 
> You forgot to initialize copy to NULL, but why not just
> 
>     return ppc64ModelCopy(model);
> 
> and removing "copy" end the error label completely since it will 
> never
> do anything anyway?

You're right! Done :)

Cheers.

-- 
Andrea Bolognani
Software Engineer - Virtualization Team




More information about the libvir-list mailing list