[libvirt] [PATCH 02/10] qemu: driver: Remove dead code from qemuDomainSnapshotUpdateDiskSources

Ján Tomko jtomko at redhat.com
Wed Aug 21 15:29:00 UTC 2019


On Fri, Aug 16, 2019 at 03:54:36PM +0200, Peter Krempa wrote:
>dd->src is always allocated in this function as it contains the new
>source for the snapshot which is meant to replace the disk source.
>
>The label handling code executed if that source was not present thus is
>dead code. Remove it.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_driver.c | 7 -------
> 1 file changed, 7 deletions(-)
>

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

Jano
-------------- 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/20190821/b6e54a1c/attachment-0001.sig>


More information about the libvir-list mailing list