]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph_osd.cc/ceph_mon.cc: cleanup unreachable exit call
authorJiaying Ren <mikulely@gmail.com>
Fri, 29 Jan 2016 08:25:48 +0000 (16:25 +0800)
committerJiaying Ren <mikulely@gmail.com>
Fri, 29 Jan 2016 08:25:48 +0000 (16:25 +0800)
commitb99b61e9a5c2b79e3c95029c8b5dee8a8b1b8acf
tree91c58d898cb5ac2f5bb6eaf0661d60b851616a04
parent248bec737e4fd8c796f855a2098ead2e7780ce81
ceph_osd.cc/ceph_mon.cc: cleanup unreachable exit call

The calling chain of usage() is:

  usage()
    ->generic_server_usage()
      ->exit(1)
  exit(0)

so the exit(0) after usage() would not be reached.

Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
src/ceph_mon.cc
src/ceph_osd.cc