[libvirt PATCH 15/39] cpu_x86: Use g_auto* in x86Compute

Jiri Denemark jdenemar at redhat.com
Tue Apr 7 10:44:48 UTC 2020


On Tue, Apr 07, 2020 at 12:08:37 +0200, Ján Tomko wrote:
> On a Friday in 2020, Jiri Denemark wrote:
> >Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> >---
> > src/cpu/cpu_x86.c | 64 ++++++++++++++++++-----------------------------
> > 1 file changed, 24 insertions(+), 40 deletions(-)
> >
> >diff --git a/src/cpu/cpu_x86.c b/src/cpu/cpu_x86.c
> >index 6c3f9fc0be..6758fcc170 100644
> >--- a/src/cpu/cpu_x86.c
> >+++ b/src/cpu/cpu_x86.c
> >@@ -1689,13 +1689,12 @@ virCPUx86DataParse(xmlXPathContextPtr ctxt)
> 
> The comment of this macro says:
>    * RET: return code to set

OK, I squashed removal of this line to this patch since I'm touching the
way this macro handles return values :-)

Jirka




More information about the libvir-list mailing list