libvirt/tools
John Ferlan bd93ba64fd vsh: Properly initialize res
The 'res' variable was only being initialized to NULL in the
if (!state) path; however, that path never used res and evenutally
res is assigned one of two results based on a pair of if then else if
conditions. If for some reason neither of those paths was taken and
the (!state) path wasn't taken, then 'res' would be indeterminate.

Found by Coverity, probably a false positive based on code paths, but
better safe than sorry for the future.

Signed-off-by: John Ferlan <jferlan@redhat.com>
2016-07-19 07:51:10 -04:00
..
nss Use virDirOpenQuiet 2016-06-24 14:20:57 +02:00
wireshark
libvirt_win_icon_16x16.ico
libvirt_win_icon_32x32.ico
libvirt_win_icon_48x48.ico
libvirt_win_icon_64x64.ico
libvirt-guests.init.in
libvirt-guests.service.in
libvirt-guests.sh.in
libvirt-guests.sysconf
Makefile.am tools: Introduce install-nss targets 2016-04-25 18:56:48 +02:00
virsh_win_icon.rc
virsh-console.c
virsh-console.h
virsh-domain-monitor.c virsh: allow both --uuid and --name at same time 2016-07-11 14:00:51 +02:00
virsh-domain-monitor.h
virsh-domain.c Report auto convergence throttle rate in migration stats 2016-06-22 15:54:21 +02:00
virsh-domain.h
virsh-edit.c
virsh-host.c
virsh-host.h
virsh-interface.c
virsh-interface.h
virsh-network.c virsh: Fix help string for net-dumpxml 2016-06-16 09:38:41 -04:00
virsh-network.h
virsh-nodedev.c
virsh-nodedev.h
virsh-nwfilter.c
virsh-nwfilter.h
virsh-pool.c Promote storage pool refresh lifecycle event to top level event 2016-06-24 18:26:11 +01:00
virsh-pool.h
virsh-secret.c util: string: Introduce virStringEncodeBase64 2016-05-16 12:58:48 +02:00
virsh-secret.h
virsh-snapshot.c
virsh-snapshot.h
virsh-volume.c virsh: volume: Add --bytes to 'vol-info' 2016-05-04 10:03:04 +02:00
virsh-volume.h
virsh.c Introduce virsh self-test 2016-06-20 18:16:33 +02:00
virsh.h
virsh.pod virsh: allow both --uuid and --name at same time 2016-07-11 14:00:51 +02:00
virt-admin.c virt-admin: Output srv-threadpool-info data as unsigned int rather than signed 2016-07-19 13:27:45 +02:00
virt-admin.h
virt-admin.pod virt-admin: Introduce commands srv-clients-info and srv-clients-set 2016-05-19 12:31:53 +02:00
virt-host-validate-common.c tools: virt-host-validate: HW virt support on s390 2016-05-04 16:30:30 +02:00
virt-host-validate-common.h headers: Remove unnecessary keyword extern from function declaration 2016-05-11 09:06:32 +02:00
virt-host-validate-lxc.c
virt-host-validate-lxc.h headers: Remove unnecessary keyword extern from function declaration 2016-05-11 09:06:32 +02:00
virt-host-validate-qemu.c virt-host-validate: fix build with clang 2016-06-14 08:02:45 +03:00
virt-host-validate-qemu.h headers: Remove unnecessary keyword extern from function declaration 2016-05-11 09:06:32 +02:00
virt-host-validate.c
virt-host-validate.pod
virt-login-shell.c tools: Fix comparison in virLoginShellGetShellArgv 2016-07-19 07:51:10 -04:00
virt-login-shell.conf virt-login-shell: add ability to auto-detect shell from container 2016-06-10 11:03:02 +01:00
virt-login-shell.pod virt-login-shell: add ability to auto-detect shell from container 2016-06-10 11:03:02 +01:00
virt-pki-validate.in
virt-pki-validate.pod
virt-sanlock-cleanup.in
virt-sanlock-cleanup.pod
virt-xml-validate.in
virt-xml-validate.pod
vsh.c vsh: Properly initialize res 2016-07-19 07:51:10 -04:00
vsh.h vsh: remove namespace poisoning 2016-06-21 18:07:25 +02:00