mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
conf: fix build by using ret variable when returning from functions
Introduced-by: c3a208af0d
Reported-by: Radoslaw Biernacki <radoslaw.biernacki@linaro.org>
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
240ee7c1d8
commit
20118c0e79
@ -24512,7 +24512,7 @@ virDomainControllerDefFormat(virBufferPtr buf,
|
||||
cleanup:
|
||||
virBufferFreeAndReset(&childBuf);
|
||||
|
||||
return 0;
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
@ -25912,7 +25912,7 @@ virDomainSoundDefFormat(virBufferPtr buf,
|
||||
cleanup:
|
||||
virBufferFreeAndReset(&childBuf);
|
||||
|
||||
return 0;
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
@ -25976,7 +25976,7 @@ virDomainMemballoonDefFormat(virBufferPtr buf,
|
||||
cleanup:
|
||||
virBufferFreeAndReset(&childrenBuf);
|
||||
|
||||
return 0;
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int
|
||||
|
Loading…
Reference in New Issue
Block a user