]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vbox_storage: fix coverity issue with overwriting value
authorPavel Hrdina <phrdina@redhat.com>
Fri, 31 Oct 2014 12:08:43 +0000 (13:08 +0100)
committerPavel Hrdina <phrdina@redhat.com>
Sat, 1 Nov 2014 15:11:09 +0000 (16:11 +0100)
commitbddf8561d26e9d3741ec70c431771e4747f87f70
tree1d9237d5a7712fa5d1dc3b51b86708928467ce0d
parent593892314a194df22ea54e5b9606e2a188932439
vbox_storage: fix coverity issue with overwriting value

Coverity is complaining about overwriting value in 'rc' variable
without using the old value because it somehow doesn't recognize that
the value is used by MACRO. The 'rc' variable is there only for checking
return code so it's save to remove it and make coverity happy.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
src/vbox/vbox_storage.c