]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage_driver: Resolve Coverity CHECKED_RETURN warning
authorJohn Ferlan <jferlan@redhat.com>
Mon, 2 Dec 2013 20:31:42 +0000 (15:31 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 4 Dec 2013 11:27:20 +0000 (06:27 -0500)
commit37a02bab1e718706aa5af65f34ea2bfee1649854
tree628d033948aaa9a0114fa496e02a2c49be211259
parentb17168cbf610990ed1527d44c4a6d8143752bb17
storage_driver: Resolve Coverity CHECKED_RETURN warning

The storageRegister() didn't check the return from the
virRegisterStorageDriver() like other callers did, so Coverity
flagged it.  Just check the return and handle.
src/storage/storage_driver.c