]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: Resolve Coverity UNUSED_VALUE
authorJohn Ferlan <jferlan@redhat.com>
Thu, 4 Sep 2014 13:37:21 +0000 (09:37 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 11 Sep 2014 11:33:19 +0000 (07:33 -0400)
commit8ea809df15f374945517e383ebd0d259dfcab9ef
tree95d57531f9ed90a4f9b45f4331642fa71f692f3a
parentf72f064269ea599bc0e67787e2c69f98e524fa56
storage: Resolve Coverity UNUSED_VALUE

Since cd4d547576a4f0371d1d4d4e0ca6db124c5ba257

Coverity notes that setting 'ret = -3' prior to the unconditional
setting of 'ret = 0' will cause the value to be UNUSED.

Since the comment indicates that it is expect to allow the code
to continue, just remove the ret = -3 setting.

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/storage/storage_backend_fs.c