]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: use virCommand to avoid compiler warning
authorEric Blake <eblake@redhat.com>
Tue, 3 May 2011 22:14:00 +0000 (16:14 -0600)
committerEric Blake <eblake@redhat.com>
Wed, 4 May 2011 14:54:20 +0000 (08:54 -0600)
commitf72393fa972e6267325e9134799a56ab6a462736
tree6a4e472669ceadbca01fe44fba0168177cc18582
parentead2b43357bae7889f4f9c34ef57772c59a9331c
storage: use virCommand to avoid compiler warning

clang didn't like the last increment to nargs.  But why even
track nargs ourselves, when virCommand does it for us?

* src/storage/storage_backend_iscsi.c
(virStorageBackendISCSIConnection): Switch to virCommand to avoid
a dead-store warning on nargs.
src/storage/storage_backend_iscsi.c