]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Always format formatStr for blockdev-snapshot-sync
authorJohn Ferlan <jferlan@redhat.com>
Tue, 21 Mar 2017 16:53:49 +0000 (12:53 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 22 Mar 2017 17:49:59 +0000 (13:49 -0400)
commitf2a76a263fad2c98bd4ab23950e08390bf9ebf66
tree7ae674ff9088d89b980eb23c148dc3fadf8e6eec
parent85bcc0220fcdc33452421256ef26d6e0080278b7
qemu: Always format formatStr for blockdev-snapshot-sync

The qemuDomainSnapshotPrepare should always set a > 0 format value anyway,
so remove the check.

Found by Coverity.
src/qemu/qemu_driver.c