mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-24 06:03:52 +03:00
virsh: initialize info in cmdIOThreadInfo
Although it is not needed at the moment, do not rely on a value being set before the first jump to cleanup. Signed-off-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: John Ferlan <jferlan@redhat.com>
This commit is contained in:
parent
4c44c9f456
commit
6dbe6e4cec
@ -7532,7 +7532,7 @@ cmdIOThreadInfo(vshControl *ctl, const vshCmd *cmd)
|
||||
bool live = vshCommandOptBool(cmd, "live");
|
||||
bool current = vshCommandOptBool(cmd, "current");
|
||||
size_t niothreads = 0;
|
||||
virDomainIOThreadInfoPtr *info;
|
||||
virDomainIOThreadInfoPtr *info = NULL;
|
||||
size_t i;
|
||||
unsigned int flags = VIR_DOMAIN_AFFECT_CURRENT;
|
||||
vshTablePtr table = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user