]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
tools/rebuild_mondb: avoid unnecessary result code cast
authorxie xingguo <xie.xingguo@zte.com.cn>
Sun, 18 Sep 2016 02:33:56 +0000 (10:33 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 18 Oct 2016 02:49:42 +0000 (10:49 +0800)
commit09701269de225e556099b9e5c511faa44acae024
treedaa0c41c7f45a297cb38c3a513cbbd792f65fef7
parent5191b06294cf505716d0c64ac36528e9ea57b0a8
tools/rebuild_mondb: avoid unnecessary result code cast

In general we return negative codes for error cases, so there is
no need perform the cast here.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
(cherry picked from commit 6a1c01d334fe65124043aa68a6e0cfaea43836b5)
src/tools/rebuild_mondb.cc