]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_snapshot: create: drop update_current variable
authorPavel Hrdina <phrdina@redhat.com>
Wed, 29 Sep 2021 17:02:39 +0000 (19:02 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Wed, 1 Dec 2021 11:33:36 +0000 (12:33 +0100)
commitd9c7985b4f95de24bf7fa1e6d82a85a514b87a84
treed4e951c97c78f87b0db37c0ff196eb5a3e2c9e91
parent5bd0c095705ef6c2ef1531daf8e981efec82f6b5
qemu_snapshot: create: drop update_current variable

There is no need for the extra variable as it is used only at one place.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_snapshot.c