]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tools: remove unread variables
authorJán Tomko <jtomko@redhat.com>
Sun, 2 Aug 2020 21:33:07 +0000 (23:33 +0200)
committerJán Tomko <jtomko@redhat.com>
Mon, 3 Aug 2020 13:19:29 +0000 (15:19 +0200)
commit9c4730c54b723a0ebf104a67b79acc76b90f70f6
treecdcb9682ba37aa55f40df47e9484f52a327a9015
parentce2483f6199a2d623f142a992a6afe41015d9ad8
tools: remove unread variables

Some of libvirt APIs return the number of elements, but we
don't need them, only whether the API failed or not.

Delete the redundant variables.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
tools/virsh-domain.c
tools/virt-admin.c