The recent changes to change 'int i' to 'size_t i' seem to have uncovered
a few new Coverity issues - resolve those. Also add a [dead_error_code]
tag to a Coverity issue that's been there for a bit.
After these patches the result is just back to 1 Coverity error in
'virLXCProcessReboot' regarding the usage of 'conn' which still needs
to be eventually resolved, see:
https://www.redhat.com/archives/libvir-list/2013-May/msg01218.html
and subsequent followups
John Ferlan (7):
hellolibvirt: Resolve Coverity issues
testutils: Resolve Coverity issues
virsh-domain-monitor: Resolve Coverity issues
virsh-interface: Resolve Coverity issues
virsh-nodedev: Resolve Coverity issues
storage_backend: Resolve Coverity issue
qemu_hostdev: Resolve Coverity issue
examples/hellolibvirt/hellolibvirt.c | 7 +++++++
src/qemu/qemu_hostdev.c | 12 +++++++-----
src/storage/storage_backend.c | 1 +
tests/testutils.c | 3 +++
tools/virsh-domain-monitor.c | 10 ++++++----
tools/virsh-interface.c | 24 +++++++++++++-----------
tools/virsh-nodedev.c | 12 +++++++-----
7 files changed, 44 insertions(+), 25 deletions(-)
--
1.8.1.4