]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virDomainChrSourceDefCopy: return void
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 24 Jan 2022 07:58:00 +0000 (08:58 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 26 Jan 2022 09:49:17 +0000 (10:49 +0100)
commit9198b7090bebe104ca36852b64528e72458eeef5
treec6067558edece2b777a0dd3fc9d3fe39bfc8c2fd
parent7e57285eec1ad024c6b23674e41cc2acdf1a864b
virDomainChrSourceDefCopy: return void

This function never returns an error, make it void then. And
while at it, make the @src argument const to make it obvious it's
never changed inside the function.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/conf/domain_conf.c
src/conf/domain_conf.h
src/qemu/qemu_process.c