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:
Pavel Hrdina 2018-11-18 13:41:54 +01:00
parent 240ee7c1d8
commit 20118c0e79

View File

@ -24512,7 +24512,7 @@ virDomainControllerDefFormat(virBufferPtr buf,
cleanup: cleanup:
virBufferFreeAndReset(&childBuf); virBufferFreeAndReset(&childBuf);
return 0; return ret;
} }
@ -25912,7 +25912,7 @@ virDomainSoundDefFormat(virBufferPtr buf,
cleanup: cleanup:
virBufferFreeAndReset(&childBuf); virBufferFreeAndReset(&childBuf);
return 0; return ret;
} }
@ -25976,7 +25976,7 @@ virDomainMemballoonDefFormat(virBufferPtr buf,
cleanup: cleanup:
virBufferFreeAndReset(&childrenBuf); virBufferFreeAndReset(&childrenBuf);
return 0; return ret;
} }
static int static int