]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/seastore: s/assert/ceph_abort_msg/ when hitting unreachable code 35914/head
authorKefu Chai <kchai@redhat.com>
Fri, 3 Jul 2020 09:35:48 +0000 (17:35 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 3 Jul 2020 16:17:38 +0000 (00:17 +0800)
commit3bb47bc41c409d8d3a3b06325be093f74237bce7
tree5eea3ee1b6846709ae4cee9fae42951bede51548
parent6b43a39518ddb0665201a81adf4d6fdad389c60e
crimson/os/seastore: s/assert/ceph_abort_msg/ when hitting unreachable code

clang++ complains with
```
crimson/os/seastore/root_block.h:100:3: warning: control reaches end of non-void function [-Wreturn-type]
  }
  ^
```

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/os/seastore/root_block.h