]> sourceware.org Git - lvm2.git/commit
coverity: remove dead code in lv_info_with_seg_status
authorPeter Rajnoha <prajnoha@redhat.com>
Wed, 26 Nov 2014 10:30:01 +0000 (11:30 +0100)
committerPeter Rajnoha <prajnoha@redhat.com>
Wed, 26 Nov 2014 10:30:01 +0000 (11:30 +0100)
commit86ae68a5f7e396a6584b8003667b44a433d914fd
tree747f09bf2d9e656637bbff2b91f3385864d3e553
parent2cd98b27825b00459bd8e2c0539ffe5c09ed5b62
coverity: remove dead code in lv_info_with_seg_status

Just call return 0 directly on error path, without using
"goto" - the code is short, no need to use it this way
(the dead code appeared as part of further changes in this
function).
lib/activate/activate.c
This page took 0.039255 seconds and 5 git commands to generate.