[PATCH 16/32] qemu: remove unnecessary virBufferFreeAndReset() after virCommandAddArgBuffer()

Ján Tomko jtomko at redhat.com
Wed Jul 8 11:11:49 UTC 2020

On a Sunday in 2020, Laine Stump wrote:
>The latter function is guaranteed to always clear out the virBuffer
>anyway, so this is redundant and could add to extra cargo-cult code if
>used as an example.
>Signed-off-by: Laine Stump <laine at redhat.com>
> src/qemu/qemu_command.c | 1 -
> 1 file changed, 1 deletion(-)

Reviewed-by: Ján Tomko <jtomko at redhat.com>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200708/6a53bf0e/attachment-0001.sig>

More information about the libvir-list mailing list